encode_Command_functions
概要
encode_Command_functions は Aspose.Font の FOSS における Python 用のクラスです。
このクラスは、Python プログラムにおける encode_Command_functions オブジェクトを操作するための 6 つのメソッドを提供します。利用可能なメソッドは、CombineLengthCodes、GetCopyLengthCode、GetDistCode、GetInsertLengthCode、GetLengthCode、__init__ です。Aspose.Font の Python 用 FOSS パッケージをインストールすれば、すべての公開メンバーは任意の 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 を使用して、完全な長さのコードを返します |