BitReader.getBitsUint16

bool getBitsUint16(out ushort val, uint nbits)

Read nbits bits into val and update the current position.

Parameters

valPointer to a #guint16 to store the result
nbitsnumber of bits to read

Returns

true if successful, false otherwise.