Code_Cost de la littérature

Code_Cost de la littérature

Vue de l’ensemble

’encode_Literal_cost’ est une classe dans Aspose.Font FOSS pour Python.

Cette classe fournit 5 méthodes pour travailler avec les objets encode_Literal_cost dans les programmes Python. Les méthodologies disponibles comprennent: ‘DecideMultiByteStatsLevel’, ‘EstimateBitCostsForLitérals’, EstimaateCotSForliteralsUTF8', ‘UTP8Position’, '__init__. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de l’Aspose.Font FOSS pour le package PyThone.

méthodes

SignatureDescription
__init__()Calls init on this encode_Literal_cost instance.
UTF8Position(last, c, clamp)Computes the next UTF-8 byte position from last, character and clamp flag
DecideMultiByteStatsLevel(pos, _hx_len, mask, data)Decides the statistics level for multibyte literals using position, length, mask and data
EstimateBitCostsForLiteralsUTF8(pos, _hx_len, mask, cost_mask, data, cost)Estimates bit costs of UTF-8 literals given position, length, masks, data and output array
EstimateBitCostsForLiterals(pos, _hx_len, mask, cost_mask, data, cost)Estimates bit costs of generic literals using position, length, masks, data and output array

Voir aussi

  • Aspose.Font — référence API d’entreprise
 Français