encode_RingBuffer
Overview
encode_RingBuffer is a class in Aspose.Font FOSS for Python.
This class provides 6 methods for working with encode_RingBuffer objects in Python programs.
Available methods include: Write, WriteTail, __init__, mask, position, start.
All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: buffer_, buffer_off, mask_, pos_, tail_size_, window_bits_.
Properties
| 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 . |
Methods
| 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 |