encode_Hash

Overview

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

This class provides 4 methods for working with encode_Hash objects in Python programs. Available methods include: BackwardReferenceScore, BackwardReferenceScoreUsingLastDistance, Hash_, __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_Hash instance.
Hash_(kShiftBits, data, data_off)Method computes a hash value for a data buffer, useful for fast lookup in compression dictionaries
BackwardReferenceScore(copy_length, backward_reference_offset)Returns a score for a backward reference given copy_length and backward_reference_offset
BackwardReferenceScoreUsingLastDistance(copy_length, distance_short_code)Returns a score using copy_length and distance_short_code

See Also