BitReader.peekBitsUint8

bool peekBitsUint8(out ubyte val, uint nbits)

Read nbits bits into val but keep the current position.

Parameters

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

Returns

true if successful, false otherwise.