BitStream.In

A bit input stream.

Methods
void close()
Close the stream.
void close()
Close the stream. This will also close the underlying stream.
int readBit()
Read a bit.
int readBit()
Read a bit.
Returns:
the bit (0 or 1)
int readGolomb(int divisor)
Read a value that is stored as a Golomb code.
int readGolomb(int divisor)
Read a value that is stored as a Golomb code.
Parameters:
divisor - the divisor
Returns:
the value