decode_Huffman
Overview
decode_Huffman is a class in Aspose.Font FOSS for Python.
This class provides 7 methods for working with decode_Huffman objects in Python programs.
Available methods include: BrotliBuildHuffmanTable, BrotliHuffmanTreeGroupInit, BrotliHuffmanTreeGroupRelease, GetNextKey, NextTableBitSize, ReplicateValue, __init__.
All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Methods
| Signature | Description |
|---|---|
__init__() | Calls init on this decode_Huffman instance. |
GetNextKey(key, _hx_len) | Reads the next Huffman key from the key buffer using the specified length |
ReplicateValue(table, table_off, step, end, code) | Copies a value into a table starting at table_off, stepping until end, using code |
NextTableBitSize(count, _hx_len, root_bits) | Computes the bit size for the next Huffman table based on count, _hx_len, and root_bits |
BrotliBuildHuffmanTable(root_table, root_table_off, root_bits, code_lengths, code_lengths_size) | Constructs a Huffman table for Brotli using root parameters and code length data |
BrotliHuffmanTreeGroupInit(group, alphabet_size, ntrees) | Initializes a group of Huffman trees with given alphabet size and number of trees |
BrotliHuffmanTreeGroupRelease(group) | Frees resources associated with a Brotli Huffman tree group |