encode_Command_functions
encode_Command_functions
Overview
encode_Command_functions 是Python的Aspose.Font FOSS中的一个类.
本类提供了6种方法,用于在Python程序中使用encode_Command_functions对象. 有的方法包括: CombineLengthCodes, GetCopyLengthCode, GetDistCode, GetInsertLengthCode, GetLengthCode, __init__. 在安装Python包的Aspose.Font FOSS后,所有公众成员都可以访问任何 Python 应用程序.
Methods
| Signature | Description |
|---|---|
__init__() | Calls 开始 在这个encode_Command_functions实例上. |
GetDistCode(distance_code, code, extra) | 返回给定距离索引的距程代码,基准代碼和额外位数,使Brotli编码中复制命令能够构建 |
GetInsertLengthCode(insertlen) | 返回给定插件长度的 Brotli插入长码. |
GetCopyLengthCode(copylen) | 计算给定代码的副本长度代号. |
CombineLengthCodes(inscode, copycode, distancecode) | 将inscode,copycode和distancecode合并为一个代码 |
GetLengthCode(insertlen, copylen, distancecode, code, extra) | 返回一个全长的代码使用 insertlen, copylen ,距离代号,代碼和额外 |