BitReader.peekBitsUint8

Read @nbits bits into @val but keep the current position.

class BitReader
bool
peekBitsUint8
(
out ubyte val
,
uint nbits
)

Parameters

val ubyte

Pointer to a #guint8 to store the result

nbits uint

number of bits to read

Return Value

Type: bool

%TRUE if successful, %FALSE otherwise.

Meta