BitReader.getBitsUint8

bool getBitsUint8(out ubyte val, uint nbits)

Read nbits bits into val and update the current position.

Parameters

valPointer to a #guint8 to store the result
nbitsnumber of bits to read

Returns

true if successful, false otherwise.