Mise en page - Huffman

Mise en page - Huffman

Vue de l’ensemble

‘decode_Huffman’ est une classe dans Aspose.Font FOSS pour Python.

Cette classe fournit 7 méthodes pour travailler avec des objets de décode_Huffman dans les programmes Python. Les méthodologies disponibles comprennent: BrotliBuildHufmanTable, GroupInit , Release BrotleHffmanGree‘, ‘GetNextKey,, NextTablesBitSize., ReplicateValueetinit`. Tous les membres publics sont accessibles à toute application Pythone après l’installation de l’Aspose.Font FOSS pour le package Pyathon.

méthodes

SignatureDescription
__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

Voir aussi

  • Aspose.Font — référence API d’entreprise
 Français