encode_Command_functions

encode_Command_functions

Обзор

encode_Command_functions — класс в Aspose.Font FOSS для Python.

Этот класс предоставляет 6 методов для работы с объектами encode_Command_functions в программах Python. Доступные методы включают: CombineLengthCodes, GetCopyLengthCode, GetDistCode, GetInsertLengthCode, GetLengthCode, __init__. Все публичные члены доступны любому приложению Python после установки пакета Aspose.Font FOSS для Python.

Методы

ПодписьОписание:
__init__()Calls init в этом экземпляре encode_Command_functions.
GetDistCode(distance_code, code, extra)Возвращает distance code, base code и extra bits для заданного distance index, позволяя формировать команды копирования в кодировании Brotli
GetInsertLengthCode(insertlen)Возвращает insert‑length код Brotli для заданного insert length
GetCopyLengthCode(copylen)Вычисляет код длины копии для данного copylen
CombineLengthCodes(inscode, copycode, distancecode)Объединяет inscode, copycode и distancecode в единый код
GetLengthCode(insertlen, copylen, distancecode, code, extra)Возвращает код полной длины, используя insertlen, copylen, distancecode, code и extra

См. также:

 Русский