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

Synopsis

Declared in <streams.h>

template<typename IStream>
class BitStreamReader;

Member Functions

Name

Description

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

Name

Description

GolombRiceDecode

Golomb‐Rice decode a value from a bit stream.

Created with MrDocs