encode_encode_BrotliCompressor
개요
encode_encode_BrotliCompressor은(는) Aspose.Font FOSS의 Python용 클래스입니다.
이 클래스는 Python 프로그램에서 encode_encode_BrotliCompressor 객체를 다루기 위한 7개의 메서드를 제공합니다. 사용 가능한 메서드에는 BrotliSetCustomDictionary, CopyInputToRingBuffer, GetBrotliStorage, WriteBrotliData, WriteMetaBlockInternal, __init__, input_block_size이(가) 포함됩니다. 모든 public 멤버는 Aspose.Font FOSS for Python 패키지를 설치한 후 any Python 애플리케이션에서 접근할 수 있습니다. 속성: cmd_buffer_size_, commands_, dist_cache_, hash_type_, hashers_, input_pos_, 그리고 추가로 17개가 더 있습니다.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
storage_ | `` | 읽기 | 스토리지를 가져옵니다 . |
last_byte_bits_ | `` | 읽기 | 마지막 바이트 비트를 가져옵니다 . |
last_byte_ | `` | 읽기 | 마지막 바이트를 가져옵니다 . |
commands_ | `` | 읽기 | 명령을 가져옵니다 . |
cmd_buffer_size_ | `` | 읽기 | cmd 버퍼 크기를 가져옵니다. |
literal_cost_mask_ | `` | 읽기 | 리터럴 비용 마스크를 가져옵니다. |
literal_cost_ | `` | 읽기 | 리터럴 비용을 가져옵니다 . |
ringbuffer_ | `` | 읽기 | 링버퍼를 가져옵니다 . |
hash_type_ | `` | 읽기 | 해시 유형을 가져옵니다. |
max_backward_distance_ | `` | 읽기 | 최대 역방향 거리를 가져옵니다. |
saved_dist_cache_ | `` | 읽기 | 저장된 dist 캐시를 가져옵니다. |
dist_cache_ | `` | 읽기 | dist 캐시를 가져옵니다. |
params_ | `` | 읽기 | 매개변수를 가져옵니다. |
hashers_ | `` | 읽기 | 해시 함수를 가져옵니다. |
input_pos_ | `` | 읽기 | 입력 위치를 가져옵니다. |
num_commands_ | `` | 읽기 | 명령 수를 가져옵니다 . |
num_literals_ | `` | 읽기 | 리터럴 수를 가져옵니다. |
last_insert_len_ | `` | 읽기 | 마지막 삽입 길이를 가져옵니다. |
last_flush_pos_ | `` | 읽기 | 마지막 플러시 위치를 가져옵니다. |
last_processed_pos_ | `` | 읽기 | 마지막으로 처리된 pos 를 가져옵니다. |
prev_byte_ | `` | 읽기 | 이전 바이트를 가져옵니다. |
prev_byte2_ | `` | 읽기 | prev byte2를 가져옵니다 . |
storage_size_ | `` | 읽기 | 스토리지 크기를 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
__init__(params) | Calls init 이 encode_encode_BrotliCompressor 인스턴스에서. |
GetBrotliStorage(size) | 요청된 크기의 저장 버퍼를 반환합니다. |
input_block_size() | 한 번에 처리되는 입력 블록의 크기를 반환합니다. |
CopyInputToRingBuffer(input_size, input_buffer) | 주어진 입력 데이터를 내부 링 버퍼에 복사합니다. |
BrotliSetCustomDictionary(size, _hx_dict) | 압축을 위해 지정된 크기의 사용자 정의 사전을 설정합니다 |
WriteBrotliData(is_last, force_flush, out_size, output) | 압축된 데이터를 기록하며, 마지막‑블록 및 선택적 강제 플러시를 처리합니다 |
WriteMetaBlockInternal(is_last, utf8_mode, out_size, output) | 메타 블록을 기록하고, 필요에 따라 UTF‑8 모드로 동작하며, 마지막 블록을 표시합니다 |