decode_Decode
개요
decode_Decode은 Aspose.Font FOSS에서 Python용 클래스입니다.
이 클래스는 Python 프로그램에서 decode_Decode 객체를 다루기 위한 23개의 메서드를 제공합니다. 사용 가능한 메서드에는 BROTLI_FAILURE, BROTLI_LOG, BROTLI_LOG_ARRAY_INDEX, BROTLI_LOG_UCHAR_VECTOR, BROTLI_LOG_UINT, BrotliDecompress, BrotliDecompressStreaming, BrotliDecompressedSize, CopyUncompressedBlockToOutput, DecodeBlockType, DecodeBlockTypeWithContext, DecodeContextMap 및 추가 11개의 메서드가 포함됩니다. 모든 public 멤버는 Aspose.Font FOSS for Python 패키지를 설치한 후 모든 Python 애플리케이션에서 접근할 수 있습니다.
메서드
| 시그니처 | 설명 |
|---|---|
BROTLI_FAILURE() | Brotli 실패 지표를 반환합니다 |
BROTLI_LOG_UINT(x) | 디버깅을 위해 부호 없는 정수 값을 로그에 기록합니다 |
BROTLI_LOG_ARRAY_INDEX(array_name, idx) | 인덱스 idx에 있는 array_name의 요소를 로그에 기록합니다 |
BROTLI_LOG(x) | x를 포함하는 일반 디버그 메시지를 작성합니다 |
BROTLI_LOG_UCHAR_VECTOR(v, _hx_len) | 길이 _hx_len인 unsigned char 벡터를 로그에 기록합니다 |
DecodeWindowBits(br) | 비트 리더 br에서 윈도우 크기 비트를 읽습니다 |
DecodeVarLenUint8(br) | `는 Brotli 비트 리더에서 가변 길이 unsigned 8‑bit 정수를 읽습니다 |
JumpToByteBoundary(br) | 이 decode_Decode 인스턴스에서 JumpToByteBoundary를 호출합니다. |
DecodeMetaBlockLength(br, meta_block_length, input_end, is_metadata, is_uncompressed) | 메타‑블록 길이와 관련 플래그를 파싱합니다 |
ReadSymbol(table, table_off, br) | 이 decode_Decode 인스턴스에서 ReadSymbol를 호출합니다. |
ReadHuffmanCodeLengths(code_length_code_lengths, num_symbols, code_lengths, s) | 심볼에 대한 Huffman 코드 길이를 읽습니다 |
ReadHuffmanCode(alphabet_size, table, table_off, opt_table_size, s) | 주어진 알파벳에 대한 Huffman 코드 테이블을 생성합니다 |
ReadBlockLength(table, table_off, br) | 테이블을 사용하여 압축 블록의 길이를 읽습니다. |
TranslateShortCodes(code, ringbuffer, index) | 링버퍼에서 짧은 코드를 전체 값으로 확장합니다. |
InverseMoveToFrontTransform(v, v_len) | 배열 v에 대한 move‑to‑front 변환을 역전시킵니다. |
HuffmanTreeGroupDecode(group, s) | 스트림 s에서 Huffman 트리 그룹을 디코드합니다. |
DecodeContextMap(context_map_size, num_htrees, context_map, s) | Huffman 트리를 위한 컨텍스트 맵을 읽습니다 |
DecodeBlockType(max_block_type, trees, tree_type, block_types, ringbuffers, indexes, br) | 제공된 트리와 버퍼를 사용하여 블록 유형을 결정합니다 |
DecodeBlockTypeWithContext(s, br) | 현재 컨텍스트를 고려하면서 블록 유형을 디코드합니다 |
CopyUncompressedBlockToOutput(output, pos, s) | 원시 블록 데이터를 위치 pos에 출력으로 복사합니다 |
BrotliDecompressedSize(encoded_size, encoded_buffer, encoded_buffer_off, decoded_size) | 예상 압축 해제 크기를 계산합니다 |
BrotliDecompressStreaming(input, output, finish, s) | Brotli 데이터를 스트리밍 방식으로 압축 해제합니다 |
BrotliDecompress(input, output) | Brotli‑인코딩된 버퍼를 완전히 압축 해제하여 출력에 넣습니다 |