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
| Name | Type | Access | Description |
|---|---|---|---|
bits_ | `` | Read | Gets the bits . |
depths_ | `` | Read | Gets the depths . |
block_split_code_ | `` | Read | Gets the block split code . |
alphabet_size_ | `` | Read | Gets the alphabet size . |
num_block_types_ | `` | Read | Gets the num block types . |
block_types_ | `` | Read | Gets the block types . |
block_lengths_ | `` | Read | Gets the block lengths . |
block_ix_ | `` | Read | Gets the block ix . |
block_len_ | `` | Read | Gets the block len . |
entropy_ix_ | `` | Read | Gets the entropy ix . |
méthodes
| Signature | Description |
|---|---|
__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