IBitStreamReadUInt16 Method |
Returns up to the next 16 bits from the stream in big-endian order.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax ushort ReadUInt16(
int countBits
)
Function ReadUInt16 (
countBits As Integer
) As UShort
unsigned short ReadUInt16(
int countBits
)
abstract ReadUInt16 :
countBits : int -> uint16
Parameters
- countBits
- Type: SystemInt32
Cannot be less than 1 or greater than 16.
Return Value
Type:
UInt16Remarks
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