C# Class CSharpUtils.BitReader

Helper class for writing bit values, bit blocks in LSB and MSB bits formats. Doesn't read bytes ahead -- reads next byte if necessary.
Mostrar archivo Open project: soywiz/csharputils

Private Properties

Property Type Description
Align void
BitReader System
EnsureData void
ReadBit bool
ReadLSB int
ReadMSB int

Private Methods

Method Description
Align ( ) : void
BitReader ( Stream stream ) : System
EnsureData ( int bitCount ) : void
ReadBit ( ) : bool
ReadLSB ( int bitCount ) : int
ReadMSB ( int bitCount ) : int