BitReader.getBitsUint8

Read @nbits bits into @val and update the current position.

class BitReader
bool
getBitsUint8
(
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