Étiquette : Ringbuffer

Étiquette : Ringbuffer

Vue de l’ensemble

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

Cette classe fournit 6 méthodes pour travailler avec les objets encode_RingBuffer dans les programmes Python. Les méthodologies disponibles comprennent: Write, WriteTail , __init__ ; mask et position . Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de l’Aspose.Font FOSS pour le package PyThone. Propriétés : buffer_; ‘buffert_off`.

Propriétés

NameTypeAccessDescription
buffer_off``ReadGets the buffer off.
buffer_``ReadGets the buffer .
window_bits_``ReadGets the window bits .
mask_``ReadGets the mask .
tail_size_``ReadGets the tail size .
pos_``ReadGets the pos .

méthodes

SignatureDescription
__init__(window_bits, tail_bits)Calls init on this encode_RingBuffer instance.
WriteTail(_hx_bytes, n)Writes _hx_bytes of length n to the tail portion of the ring buffer
Write(_hx_bytes, n)Writes _hx_bytes of length n to the main ring buffer
position()Returns the current write/read position within the buffer
mask()Returns the bitmask used for wrapping indices in the ring buffer
start()Returns the start index of the active window in the ring buffer

Voir aussi

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