Click or drag to resize
IBitStreamReadUInt16 Method
Returns up to the next 16 bits from the stream in big-endian order.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
ushort ReadUInt16(
	int countBits
)

Parameters

countBits
Type: SystemInt32
Cannot be less than 1 or greater than 16.

Return Value

Type: UInt16
Remarks

The bits are right-shifted so that the LSB read is the LSB of the return value. For example, if three bits from the stream '101' are read then the resulting word will be '00000000 00000101'.

The effect of calling this method before Initialise(Byte) is undefined.

See Also