BitReader.peekBitsUint16

bool peekBitsUint16(out ushort val, uint nbits)

Read nbits bits into val but keep the current position.

Parameters

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

Returns

true if successful, false otherwise.