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.