Enregistrement de code_brotli_bit_stream_BlockEncoder

Enregistrement de code_brotli_bit_stream_BlockEncoder

Vue de l’ensemble

’encode_brotli_bit_stream_BlockEncoder’ est une classe dans Aspose.Font FOSS pour Python.

Cette classe fournit 5 méthodes pour travailler avec encode_brotli_bit_stream_BlockEncoder objets dans les programmes Python. Les méthodologies disponibles comprennent: BuildAndStoreBlocSwitchEntropyCodes, Build AndStoryEntrophyCODES , ‘StoresymboletStoerSymbulWithContext .__init__. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de la mise en œuvre d’Aspose.Font FOSS pour le package Pyathon. Propriétés : alphabet_size_ ; bits_', block_ix_’, block_len; blok_lengthss, ‘bloc_plit_code`et et plus.

Propriétés

NameTypeAccessDescription
bits_``ReadGets the bits .
depths_``ReadGets the depths .
block_split_code_``ReadGets the block split code .
alphabet_size_``ReadGets the alphabet size .
num_block_types_``ReadGets the num block types .
block_types_``ReadGets the block types .
block_lengths_``ReadGets the block lengths .
block_ix_``ReadGets the block ix .
block_len_``ReadGets the block len .
entropy_ix_``ReadGets the entropy ix .

méthodes

SignatureDescription
__init__(alphabet_size, num_block_types, block_types, block_lengths)Calls init on this encode_brotli_bit_stream_BlockEncoder instance.
BuildAndStoreBlockSwitchEntropyCodes(storage_ix, storage)Builds and stores block-switch entropy codes into the storage at storage_ix
BuildAndStoreEntropyCodes(histograms, storage_ix, storage)Builds and stores entropy codes for given histograms into storage at storage_ix
StoreSymbol(symbol, storage_ix, storage)` writes a single symbol into the Brotli bit stream at the specified storage index, updating internal entropy state
StoreSymbolWithContext(kContextBits, symbol, context, context_map, storage_ix, storage)Stores a symbol using kContextBits, context and context_map into storage at storage_ix

Voir aussi

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