Метод | Описание | |
---|---|---|
Deserialize ( Stream stream, int size ) : int |
Deserialize fields in this class from a stream.
|
|
GetGLOBCNTList ( List |
Get GLOBCNTs from a GLOBCNTRange list.
|
|
GetGLOBCNTRange ( List |
Get GLOBCNTRanges from a GLOBCNT list.
|
|
Serialize ( Stream stream ) : int |
Serialize fields to a stream.
|
Метод | Описание | |
---|---|---|
Bitmask ( Stream stream, byte startValue, byte bitmask ) : int |
Writes a bitmask command to a stream.
|
|
Compress ( int index ) : int |
Compresses a GLOBCNTRange to the stream.
|
|
Compress ( int startIndex, int endIndex ) : int |
Compresses GLOBCNTRanges to the stream.
|
|
CompressBitmask ( int startIndex, int endIndex ) : int |
Compresses GLOBCNTRanges in the GLOBCNTRange list to as a bitmask command.
|
|
CompressLastByte ( int startIndex, int endIndex ) : int |
Compress the last byte(6th) of GLOBCNTRanges.
|
|
CompressRange ( int index ) : int |
Compresses a GLOBCNTRange in the GLOBCNTRange list to as a bitmask command.
|
|
CompressSingleton ( int index ) : int |
Compresses a singleton GLOBCNTRange.
|
|
End ( Stream stream ) : int |
Writes an end command to a stream.
|
|
FromBitmask ( byte commonBytes, byte startValue, byte bitmask ) : List |
Deserializes a list of GLOBCNTRanges from a bitmask command.
|
|
FromPush ( byte comonBytes, byte pushedBytes ) : |
Deserializes a GLOBCNTRange from a push command.
|
|
FromRange ( byte comonBytes, byte lowBytes, byte highBytes ) : |
Deserializes a GLOBCNTRange from a range command.
|
|
HighOrderCommonBytes ( int startIndex, int endIndex, int byteIndex, int &firstDiffIndex ) : byte[] |
Gets high order command bytes in the GLOBCNTRange list.
|
|
Pop ( Stream stream ) : int |
Writes a pop command to a stream.
|
|
Push ( Stream stream, byte values ) : int |
Writes a push command.
|
|
Range ( Stream stream, byte lowValue, byte highValue ) : int |
Writes a range command to a stream.
|
|
ReadBitmaskValue ( byte &startingValue, byte &bitmask ) : int |
Reads a bitmask command from the stream.
|
|
ReadByte ( ) : byte |
Reads a byte from the stream.
|
|
ReadOperation ( ) : System.Operation |
Reads an operation byte from a stream.
|
|
ReadPushedValue ( int size, byte &commonBytes ) : int |
Reads a push command from the stream.
|
|
ReadRangeValue ( byte &lowValue, byte &highValue ) : int |
Reads a range command from the stream.
|
|
Verify ( bool condition ) : void |
Verifies a condition.
|
public Deserialize ( Stream stream, int size ) : int | ||
stream | Stream | Stream contains a serialized instance of this class. |
size | int | How many bytes can read if -1, no limitation.MUST be -1. |
Результат | int |
public static GetGLOBCNTList ( List |
||
rangeList | List |
A GLOBCNTRange list. |
Результат | List |
public static GetGLOBCNTRange ( List |
||
globcntList | List |
A GLOBCNT list. |
Результат | List |
public Serialize ( Stream stream ) : int | ||
stream | Stream | The stream where serialized instance will be wrote. |
Результат | int |