A Sandcastle Documented Class Library
![]() | Unpacker Class |
Helper class for decoding word arrays filled with data, especially where the data elements are not aligned on
word boundaries. Data that can be decoded includes fixed length data, variable length codes, extensible bit
vectors and byte arrays.

Namespace: Tego.Utils
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)

The Unpacker type exposes the following members.

Name | Description | |
---|---|---|
![]() | Unpacker(UnpackerGetWordDelegate, Int32, Int32) | Create an Unpacker which uses a delegate function to get and to decode data from a source. |
![]() | Unpacker(UInt16, Int32, Int32, Int32) | Create an Unpacker which starts decoding from a defined starting point in a given array |

Name | Description | |
---|---|---|
![]() | Address | Current word address from which to get data. |
![]() | BitAddress | Current bit address in word from which to get data (0 is the most significant bit). |
![]() | IsByteAligned | Gets whether the current position to get data is byte aligned. |
![]() | IsWordAligned | Gets whether the current position to get data is word aligned. |
![]() | LastAddress | Previous word address before last get. |
![]() | LastBitAddress | Previous bit address in word before last get. |

Name | Description | |
---|---|---|
![]() | ByteAlign | If not already on a byte boundary, sets the current position to the start of the next byte. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | Get |
Get a defined number of bits
|
![]() | GetBytes |
Get a specified number of bytes as a byte array
|
![]() | GetCode |
Get a variable length code matching defined code patterns
|
![]() | GetEbv | Get the value of an extensible bit vector of specified order |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetNumericCode | Get a variable length code matching defined code patterns. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | PopPosition | |
![]() | PushPosition | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WordAlign | If not already on a word boundary, sets the current position to the start of the next word. |
