python_io_IoTools

python_io_IoTools

概述

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

本类提供了4种方法,用于在Python程序中使用python_io_IoTools对象. 有的方法包括: createFileInputFromBytes, createFileInputFromText, createFileOutputFromBytes, createFileOutputFromText. 在安装Python包的Aspose.Font FOSS后,所有公众成员都可以访问任何 Python 应用程序.

方法

Signature描述情况
createFileInputFromText(t)从文本字符串创建一个文件输入包装
createFileInputFromBytes(t)返回一个python_io_NativeBytesInput,可以用 readinto(b) 和eof (()) 这样的方法读取二进制数据.
createFileOutputFromText(t)创建一个输出文件包装,写文本数据.
createFileOutputFromBytes(t)创建一个输出文件包装器,可以写二进制数据.

查看更多

 中文