Click or drag to resize
IBitStreamReadByte Method
Returns up to the next 8 bits from the stream.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
byte ReadByte(
	int countBits
)

Parameters

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

Return Value

Type: Byte
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 byte will be '00000101'.

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

See Also