BitReader.getBitsUint16

Read nbits bits into val and update the current position.

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