BitStreamReader

Reads individual bits, most significant first, from an underlying byte stream.

Synopsis

Declared in <streams.h>

template<typename IStream>
class BitStreamReader;

Member Functions

NameDescription
BitStreamReader [constructor]Construct a bit reader over the given input byte stream.
Read Read the specified number of bits from the stream. The data is returned in the nbits least significant bits of a 64-bit uint.

Non-Member Functions

NameDescription
GolombRiceDecodeGolomb-Rice decode a value from a bit stream.