BitReader.peekBitsUint16

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

class BitReader
bool
peekBitsUint16
(
out ushort val
,
uint nbits
)

Parameters

val ushort

Pointer to a #guint16 to store the result

nbits uint

number of bits to read

Return Value

Type: bool

%TRUE if successful, %FALSE otherwise.

Meta