encode_Static_dict

encode_Static_dict

Overview

encode_Static_dict is a class in Aspose.Font FOSS for Python.

This class provides 6 methods for working with encode_Static_dict objects in Python programs. Available methods include: AddMatch, DictMatchLength, FindAllStaticDictionaryMatches, Hash_1, IsMatch, __init__. All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.

Methods

SignatureDescription
__init__()Calls init on this encode_Static_dict instance.
Hash_1(data, data_off)Computes a hash of the data buffer starting at data_off
AddMatch(distance, _hx_len, len_code, matches)Records a match with distance, _hx_len, len_code into matches
DictMatchLength(data, data_off, id, _hx_len)Returns the length of a dictionary match for id and _hx_len
IsMatch(w, data, data_off)Tests whether word w matches data at the given data_off
FindAllStaticDictionaryMatches(data, data_off, min_length, matches, matches_off)Finds all static dictionary matches of at least min_length and stores them in matches at matches_off

See Also