C# Class UnitWrappers.System.IO.BinaryReaderWrap

Inheritance: IBinaryReader
Afficher le fichier Open project: OpenSharp/UnitWrappers Class Usage Examples

Méthodes publiques

Méthode Description
BinaryReaderWrap ( BinaryReader reader ) : System

Initializes a new instance of the T:UnitWrappers.System.IO.BinaryReaderWrap class on the specified path.

BinaryReaderWrap ( Stream input ) : System

Initializes a new instance of the BinaryReader class based on the supplied stream and using UTF8Encoding.

BinaryReaderWrap ( Stream stream, Encoding encoding ) : System

Initializes a new instance of the BinaryReader class based on the supplied stream and a specific character encoding.

Close ( ) : void
Dispose ( ) : void
PeekChar ( ) : int
Read ( ) : int
Read ( byte buffer, int index, int count ) : int
Read ( char buffer, int index, int count ) : int
ReadBoolean ( ) : bool
ReadByte ( ) : byte
ReadBytes ( int count ) : byte[]
ReadChar ( ) : char
ReadChars ( int count ) : char[]
ReadDecimal ( ) : decimal
ReadDouble ( ) : double
ReadInt16 ( ) : short
ReadInt32 ( ) : int
ReadInt64 ( ) : long
ReadSingle ( ) : float
ReadString ( ) : string

Private Methods

Méthode Description
ReadSByte ( ) : sbyte
ReadUInt16 ( ) : ushort
ReadUInt32 ( ) : uint
ReadUInt64 ( ) : ulong

Method Details

BinaryReaderWrap() public méthode

Initializes a new instance of the T:UnitWrappers.System.IO.BinaryReaderWrap class on the specified path.
public BinaryReaderWrap ( BinaryReader reader ) : System
reader System.IO.BinaryReader The object.
Résultat System

BinaryReaderWrap() public méthode

Initializes a new instance of the BinaryReader class based on the supplied stream and using UTF8Encoding.
public BinaryReaderWrap ( Stream input ) : System
input Stream A object.
Résultat System

BinaryReaderWrap() public méthode

Initializes a new instance of the BinaryReader class based on the supplied stream and a specific character encoding.
public BinaryReaderWrap ( Stream stream, Encoding encoding ) : System
stream Stream The supplied stream.
encoding System.Text.Encoding The character encoding.
Résultat System

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

PeekChar() public méthode

public PeekChar ( ) : int
Résultat int

Read() public méthode

public Read ( ) : int
Résultat int

Read() public méthode

public Read ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
Résultat int

Read() public méthode

public Read ( char buffer, int index, int count ) : int
buffer char
index int
count int
Résultat int

ReadBoolean() public méthode

public ReadBoolean ( ) : bool
Résultat bool

ReadByte() public méthode

public ReadByte ( ) : byte
Résultat byte

ReadBytes() public méthode

public ReadBytes ( int count ) : byte[]
count int
Résultat byte[]

ReadChar() public méthode

public ReadChar ( ) : char
Résultat char

ReadChars() public méthode

public ReadChars ( int count ) : char[]
count int
Résultat char[]

ReadDecimal() public méthode

public ReadDecimal ( ) : decimal
Résultat decimal

ReadDouble() public méthode

public ReadDouble ( ) : double
Résultat double

ReadInt16() public méthode

public ReadInt16 ( ) : short
Résultat short

ReadInt32() public méthode

public ReadInt32 ( ) : int
Résultat int

ReadInt64() public méthode

public ReadInt64 ( ) : long
Résultat long

ReadSingle() public méthode

public ReadSingle ( ) : float
Résultat float

ReadString() public méthode

public ReadString ( ) : string
Résultat string