encode_RingBuffer

encode_RingBuffer

Overview

encode_RingBuffer 是Python的Aspose.Font FOSS中的一个类.

本类提供了6种方法,用于在Python程序中使用encode_RingBuffer对象. 有的方法包括: Write, WriteTail, __init__, mask, position, start. 在安装Python包的Aspose.Font FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: buffer_, buffer_off, mask_, pos_, tail_size_, window_bits_.

Properties

NameTypeAccessDescription
buffer_off``Read打开缓冲器.
buffer_``Read得到缓冲器.
window_bits_``Read拿走了窗户的碎片.
mask_``Read拿到了面具.
tail_size_``Read得到了尾巴的大小.
pos_``Read得到了这个位置.

Methods

SignatureDescription
__init__(window_bits, tail_bits)Calls 开始 在这个encode_RingBuffer实例上.
WriteTail(_hx_bytes, n)写入长度n的 _hx_字节到环缓冲器尾部
Write(_hx_bytes, n)将长度为n的 _hx_byte 写入主环缓冲器
position()返回缓冲器内当前的写/读位置.
mask()返回用于包裹指数的环缓冲器中的比特面膜
start()返回环缓冲中的活动窗口的启动索引

See Also

 中文