struct MESSAGE_READER
A position in a Huffman-coded message: the previous code, which picks the next symbol's tree, and the message's remaining bits.
Declared in message_reader.h.
Fields
| Name | Description | |
|---|---|---|
Uint32 | prevCode | The last symbol: its high bits pick the context bank and its low byte the tree the next symbol is read with. |
const Uint32 * | words | The message's next byte of bits, a byte pointer despite its type: TextDecodeSymbol, the ARM function mnMessageDecode runs, reads it a byte at a time, as does the unused C form, mnTextDecodeSymbolInC. |
Uint32 | bits | The current byte's unread bits, lowest first, under a marker bit; empty once only the marker is left. |
Description
A position in a Huffman-coded message: the previous code, which picks the next symbol's tree, and the message's remaining bits.
struct MESSAGE_READER
Referenced by mnMessageDecode(), mnMessageDecodeRaw(), mnMessageFind() and mnTextDecodeSymbolInC().
Definition at line 12 of file message_reader.h.
Fields in detail
prevCode
Uint32 prevCode
The last symbol: its high bits pick the context bank and its low byte the tree the next symbol is read with.
words
const Uint32 *words
The message's next byte of bits, a byte pointer
despite its type: TextDecodeSymbol, the ARM
function mnMessageDecode runs, reads it a byte at
a time, as does the unused C form,
mnTextDecodeSymbolInC.
bits
Uint32 bits
The current byte's unread bits, lowest first, under a marker bit; empty once only the marker is left.