C# Class UnitWrappers.System.IO.BinaryReaderWrap

Inheritance: IBinaryReader
Mostrar archivo Open project: OpenSharp/UnitWrappers Class Usage Examples

Public Methods

Method 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

Method Description
ReadSByte ( ) : sbyte
ReadUInt16 ( ) : ushort
ReadUInt32 ( ) : uint
ReadUInt64 ( ) : ulong

Method Details

BinaryReaderWrap() public method

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.
return System

BinaryReaderWrap() public method

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.
return System

BinaryReaderWrap() public method

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.
return System

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

PeekChar() public method

public PeekChar ( ) : int
return int

Read() public method

public Read ( ) : int
return int

Read() public method

public Read ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
return int

Read() public method

public Read ( char buffer, int index, int count ) : int
buffer char
index int
count int
return int

ReadBoolean() public method

public ReadBoolean ( ) : bool
return bool

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadBytes() public method

public ReadBytes ( int count ) : byte[]
count int
return byte[]

ReadChar() public method

public ReadChar ( ) : char
return char

ReadChars() public method

public ReadChars ( int count ) : char[]
count int
return char[]

ReadDecimal() public method

public ReadDecimal ( ) : decimal
return decimal

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadInt16() public method

public ReadInt16 ( ) : short
return short

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadInt64() public method

public ReadInt64 ( ) : long
return long

ReadSingle() public method

public ReadSingle ( ) : float
return float

ReadString() public method

public ReadString ( ) : string
return string