encode_encode_BrotliCompressor
Overview
encode_encode_BrotliCompressor Python için Aspose.Font FOSS sınıfıdır.
Bu sınıf Python programlarında encode_encode-BrotliCompressor nesneleri ile çalışmak için 7 yöntem sunar. Mevcut yöntemler şunları içerir: BrotliSetCustomDictionary, CopyInputToRingBuffer, GetBrotliStorage, WriteBrotliData, WriteMetaBlockInternal, __init__, input_block_size. Tüm kamu üyeleri, Python paket için Aspose.Font FOSS’u yükledikten sonra herhangi bir Python uygulamasına erişilebilir. Mülkiyet : cmd_buffer_size_, commands_, dist_cache_, hash_type_, hashers_, input_pos_,17 daha fazlası.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
storage_ | `` | Read | Depolama alanı alır. |
last_byte_bits_ | `` | Read | Son bit bitleri alır. |
last_byte_ | `` | Read | Son baht alır. |
commands_ | `` | Read | Komutları alır. |
cmd_buffer_size_ | `` | Read | cmd buffer boyutunu alır. |
literal_cost_mask_ | `` | Read | Yazılı maskeyi kullanır. |
literal_cost_ | `` | Read | Yazılı maliyetleri ödeyebiliriz. |
ringbuffer_ | `` | Read | Ringbuffer’ı yakalayın. |
hash_type_ | `` | Read | Hash tipi ile ilgili. |
max_backward_distance_ | `` | Read | Max arka mesafeyi alır. |
saved_dist_cache_ | `` | Read | Kâğıtları kurtarmak için kaydedilir. |
dist_cache_ | `` | Read | Cache’yi bulmak için. |
params_ | `` | Read | Paramalar için alın. |
hashers_ | `` | Read | Hasherler için kullanın. |
input_pos_ | `` | Read | Giriş posta ile yapılır. |
num_commands_ | `` | Read | Num komutları alın. |
num_literals_ | `` | Read | NUM’un yazılı sayısını buldum. |
last_insert_len_ | `` | Read | Son giriş yaptırımını alır. |
last_flush_pos_ | `` | Read | Son flush postu alır. |
last_processed_pos_ | `` | Read | Son işlenmiş postu alır. |
prev_byte_ | `` | Read | Önceki İçerikBit’i alıyoruz!. |
prev_byte2_ | `` | Read | Önceki İçerikBit2’yi kullanın!. |
storage_size_ | `` | Read | Depolama boyutunu alır. |
Methods
| Signature | Description |
|---|---|
__init__(params) | Calls Initler bu kod_encode_BrotliCompressor örneğinde. |
GetBrotliStorage(size) | İsteyen boyutlu bir depolama bufferini geri getirir. |
input_block_size() | Bir zamanlar işlenmiş bir giriş blokunun boyutunu geri getirir. |
CopyInputToRingBuffer(input_size, input_buffer) | Verilen giriş verilerini iç yüzük bufferine kopyalayın. |
BrotliSetCustomDictionary(size, _hx_dict) | Kompresyon için belirlenen boyutlu özel bir sözlük ayarlayın |
WriteBrotliData(is_last, force_flush, out_size, output) | Kompresli verileri yazar, son blok işleme ve seçmeli zorunlu flush yapar. |
WriteMetaBlockInternal(is_last, utf8_mode, out_size, output) | Meta blok yazar, seçmeli olarak UTF-8 modunda ve son blok işaretler |