C# Class CSharpRTMP.Common.N2HBinaryReader

Inheritance: System.IO.BinaryReader
Show file Open project: langhuihui/csharprtmp Class Usage Examples

Public Methods

Method Description
N2HBinaryReader ( Stream input ) : System
N2HBinaryReader ( Stream input, Encoding encoding ) : System
Read24 ( ) : int
Read7BitLongValue ( ) : ulong
Read7BitValue ( ) : uint
ReadInt16 ( ) : short
ReadInt32 ( ) : int
ReadInt64 ( ) : long
ReadSU32 ( ) : uint
ReadString8 ( ) : string
ReadU24 ( ) : uint
ReadUInt16 ( ) : ushort
ReadUInt32 ( ) : uint
ReadUInt64 ( ) : ulong
Shrink ( uint rest ) : void
_ReadUInt32 ( ) : uint
this ( int index ) : byte

Private Methods

Method Description
_ReadInt32 ( ) : int

Method Details

N2HBinaryReader() public method

public N2HBinaryReader ( Stream input ) : System
input Stream
return System

N2HBinaryReader() public method

public N2HBinaryReader ( Stream input, Encoding encoding ) : System
input Stream
encoding System.Text.Encoding
return System

Read24() public method

public Read24 ( ) : int
return int

Read7BitLongValue() public method

public Read7BitLongValue ( ) : ulong
return ulong

Read7BitValue() public method

public Read7BitValue ( ) : uint
return uint

ReadInt16() public method

public ReadInt16 ( ) : short
return short

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadInt64() public method

public ReadInt64 ( ) : long
return long

ReadSU32() public method

public ReadSU32 ( ) : uint
return uint

ReadString8() public method

public ReadString8 ( ) : string
return string

ReadU24() public method

public ReadU24 ( ) : uint
return uint

ReadUInt16() public method

public ReadUInt16 ( ) : ushort
return ushort

ReadUInt32() public method

public ReadUInt32 ( ) : uint
return uint

ReadUInt64() public method

public ReadUInt64 ( ) : ulong
return ulong

Shrink() public method

public Shrink ( uint rest ) : void
rest uint
return void

_ReadUInt32() public method

public _ReadUInt32 ( ) : uint
return uint

this() public method

public this ( int index ) : byte
index int
return byte