C# Class System.IO.BinaryReader

Inheritance: IDisposable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
BinaryReader ( Stream input ) : System.Text
BinaryReader ( Stream input, Encoding encoding ) : System.Text
BinaryReader ( Stream input, Encoding encoding, bool leaveOpen ) : System.Text
Close ( ) : void Override Dispose(bool) instead of Close(). This API exists for compatibility purposes.
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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
FillBuffer ( int numBytes ) : void
Read7BitEncodedInt ( ) : int

Private Methods

Méthode Description
InternalReadChars ( char buffer, int index, int count ) : int
InternalReadOneChar ( ) : int
ReadSByte ( ) : sbyte
ReadUInt16 ( ) : ushort
ReadUInt32 ( ) : uint
ReadUInt64 ( ) : ulong

Method Details

BinaryReader() public méthode

public BinaryReader ( Stream input ) : System.Text
input Stream
Résultat System.Text

BinaryReader() public méthode

public BinaryReader ( Stream input, Encoding encoding ) : System.Text
input Stream
encoding System.Text.Encoding
Résultat System.Text

BinaryReader() public méthode

public BinaryReader ( Stream input, Encoding encoding, bool leaveOpen ) : System.Text
input Stream
encoding System.Text.Encoding
leaveOpen bool
Résultat System.Text

Close() public méthode

Override Dispose(bool) instead of Close(). This API exists for compatibility purposes.
public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

FillBuffer() protected méthode

protected FillBuffer ( int numBytes ) : void
numBytes int
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

Read7BitEncodedInt() protected méthode

protected Read7BitEncodedInt ( ) : 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