python_io_NativeInput

python_io_NativeInput

概述

python_io_NativeInput 是 Aspose.Font FOSS 中用于 Python 的类。继承自:haxe_io_Input。

此类提供 7 个方法,用于在 Python 程序中处理 python_io_NativeInput 对象。可用的方法包括:__init__、eof、readBytes、readinto、set_bigEndian、tell、throwEof。在安装了 Aspose.Font FOSS for Python 包之后,所有公共成员对任何 Python 应用程序均可访问。属性:stream、wasEof。

属性

名称类型访问描述
wasEof``读取获取 was eof。
stream``读取获取流。

方法

签名描述
__init__(s)Calls init 在此 python_io_NativeInput 实例上。
tell()返回底层流中的当前位置
throwEof()在此 python_io_NativeInput 实例上调用 throwEof。
eof()在此 python_io_NativeInput 实例上调用 eof。
readinto(b)将字节读取到提供的缓冲区中,并返回字节计数
readBytes(s, pos, _hx_len)根据给定的位置和长度,从流中读取一段字节到缓冲区
set_bigEndian(b)设置 bigendian 值。

另请参阅

 中文