encode_Command_functions
개요
encode_Command_functions은 Aspose.Font FOSS에서 Python용 클래스입니다.
이 클래스는 Python 프로그램에서 encode_Command_functions 객체를 다루기 위한 6개의 메서드를 제공합니다. 사용 가능한 메서드에는 CombineLengthCodes, GetCopyLengthCode, GetDistCode, GetInsertLengthCode, GetLengthCode, __init__가 포함됩니다. Aspose.Font FOSS for Python 패키지를 설치한 후에는 모든 Python 애플리케이션에서 모든 공개 멤버에 접근할 수 있습니다.
메서드
| 시그니처 | 설명 |
|---|---|
__init__() | Calls init 이 encode_Command_functions 인스턴스에서. |
GetDistCode(distance_code, code, extra) | 주어진 거리 인덱스에 대한 거리 코드, 기본 코드 및 추가 비트를 반환하여 Brotli 인코딩에서 복사 명령을 구성할 수 있게 합니다. |
GetInsertLengthCode(insertlen) | 주어진 삽입 길이에 대한 Brotli 삽입‑길이 코드를 반환합니다. |
GetCopyLengthCode(copylen) | 주어진 copylen에 대한 복사‑길이 코드를 계산합니다. |
CombineLengthCodes(inscode, copycode, distancecode) | inscode, copycode 및 distancecode를 단일 코드로 병합합니다. |
GetLengthCode(insertlen, copylen, distancecode, code, extra) | insertlen, copylen, distancecode, code 및 extra를 사용하여 전체 길이 코드를 반환합니다. |