É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
| Name | Type | Access | Description |
|---|---|---|---|
buffer_off | `` | Read | Gets the buffer off. |
buffer_ | `` | Read | Gets the buffer . |
window_bits_ | `` | Read | Gets the window bits . |
mask_ | `` | Read | Gets the mask . |
tail_size_ | `` | Read | Gets the tail size . |
pos_ | `` | Read | Gets the pos . |
méthodes
| Signature | Description |
|---|---|
__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