C# Class CSharpRTMP.Common.BitReader

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

Public Properties

Property Type Description
BitsEnumerator IEnumerator

Public Methods

Method Description
BitReader ( Stream input ) : System
Bits ( ) : IEnumerable
ReadBitsToByte ( byte count = 8 ) : byte
ReadBitsToInt ( byte count = 32 ) : int
ReadBitsToShort ( byte count = 16 ) : short
ReadBool ( ) : bool
ReadExpGolomb ( string name = "" ) : ulong

Method Details

BitReader() public method

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

Bits() public method

public Bits ( ) : IEnumerable
return IEnumerable

ReadBitsToByte() public method

public ReadBitsToByte ( byte count = 8 ) : byte
count byte
return byte

ReadBitsToInt() public method

public ReadBitsToInt ( byte count = 32 ) : int
count byte
return int

ReadBitsToShort() public method

public ReadBitsToShort ( byte count = 16 ) : short
count byte
return short

ReadBool() public method

public ReadBool ( ) : bool
return bool

ReadExpGolomb() public method

public ReadExpGolomb ( string name = "" ) : ulong
name string
return ulong

Property Details

BitsEnumerator public property

public IEnumerator BitsEnumerator
return IEnumerator