IBitStreamReadByte Method |
Returns up to the next 8 bits from the stream.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax byte ReadByte(
int countBits
)
Function ReadByte (
countBits As Integer
) As Byte
unsigned char ReadByte(
int countBits
)
abstract ReadByte :
countBits : int -> byte
Parameters
- countBits
- Type: SystemInt32
Cannot be less than 1 or greater than 8.
Return Value
Type:
ByteRemarks
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