encode_encode_BrotliCompressor

encode_encode_BrotliCompressor

Overview

encode_encode_BrotliCompressor là một lớp trong Aspose.Font FOSS cho Python.

Khóa học này cung cấp 7 phương pháp để làm việc với các đối tượng encode_encode-BrotliCompressor trong các chương trình Python. Các phương pháp có sẵn bao gồm: BrotliSetCustomDictionary, CopyInputToRingBuffer, GetBrotliStorage, WriteBrotliData, WriteMetaBlockInternal, __init__, input_block_size. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Python nào sau khi cài đặt Aspose.Font FOSS cho gói Python. Tài sản : cmd_buffer_size_, commands_, dist_cache_, hash_type_, hashers_, input_pos_,17 và nhiều hơn nữa.

Properties

NameTypeAccessDescription
storage_``ReadNhận được kho lưu trữ.
last_byte_bits_``ReadNhận bit byte cuối cùng.
last_byte_``ReadNhận byte cuối cùng.
commands_``ReadNhận các lệnh.
cmd_buffer_size_``ReadĐặt kích thước buffer cmd.
literal_cost_mask_``ReadNhận mặt nạ chi phí văn bản.
literal_cost_``ReadNhận được chi phí văn bản.
ringbuffer_``ReadĐặt chiếc ringbuffer.
hash_type_``ReadCó thể dùng hash.
max_backward_distance_``Read- Tải khoảng cách Max về phía sau.
saved_dist_cache_``ReadNhận được cache dist tiết kiệm.
dist_cache_``ReadĐã có cache.
params_``ReadĐưa ra params.
hashers_``ReadHãy lấy hashers.
input_pos_``ReadGửi vào input post.
num_commands_``ReadGửi số lệnh.
num_literals_``ReadĐưa ra các chữ số.
last_insert_len_``ReadGửi vào cuối len.
last_flush_pos_``ReadGửi bài cuối cùng flush.
last_processed_pos_``ReadNhận được bài đăng cuối cùng được xử lý.
prev_byte_``ReadNhận được Pre byte.
prev_byte2_``ReadĐặt trước byte2 .
storage_size_``Read- Nhận kích thước lưu trữ.

Methods

SignatureDescription
__init__(params)Calls Intô trong trường hợp này encode_encode-BrotliCompressor.
GetBrotliStorage(size)Trả lại một buffer lưu trữ kích thước yêu cầu
input_block_size()Trở lại kích thước của một khối nhập được xử lý tại một thời điểm
CopyInputToRingBuffer(input_size, input_buffer)Sao chép dữ liệu nhập vào buffer vòng nội bộ
BrotliSetCustomDictionary(size, _hx_dict)Thiết lập một từ điển tùy chỉnh của kích thước được chỉ định cho việc nén
WriteBrotliData(is_last, force_flush, out_size, output)Viết dữ liệu nén, xử lý cuối cùng và tùy chọn buộc flush
WriteMetaBlockInternal(is_last, utf8_mode, out_size, output)Tạo một khối meta, tùy chọn trong chế độ UTF-8 và đánh dấu khối cuối cùng

See Also

 Tiếng Việt