Свойство | Type | Description | |
---|---|---|---|
offset | long | ||
src | byte[] |
Méthode | Description | |
---|---|---|
AlignToByte ( ) : void |
Move to the next byte edge (no action if already on one -- moves between 0 and 7 bits)
|
|
BitSplitter ( byte RawData ) : System | ||
GetFlag ( ) : bool |
Read a single bit, and return true if set to '1'. Advances position by 1 bit
|
|
GetInteger ( int BitLength ) : ulong |
Return an unsigned long for the integer bits
|
|
RemainingBytes ( ) : byte[] |
Return a new array containing all remaining whole bytes not consumed.
|
|
SkipBits ( int BitCount ) : void |
Move forward a given number of bits. They are consumed but not processed.
|
|
SkipBytes ( int ByteCount ) : void |
Move forward a given number of bytes. They are consumed but not processed.
|
|
SkipToNextByte ( ) : void |
Move forward to next byte edge (moves between 1 and 8 bits)
|
Méthode | Description | |
---|---|---|
GetNext ( int l ) : byte[] |
Get an unshifted array of bits packed in bytes. Advances position counter.
|
|
Mask ( int start, int length ) : byte[] |
Create a byte mask
|
public BitSplitter ( byte RawData ) : System | ||
RawData | byte | |
Résultat | System |
public GetInteger ( int BitLength ) : ulong | ||
BitLength | int | |
Résultat | ulong |
protected Mask ( int start, int length ) : byte[] | ||
start | int | number of bits skipped |
length | int | run length (bits) |
Résultat | byte[] |