encode_RingBuffer

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

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 .

Methods

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

See Also