Flatten builtin pages, add third-party and platform scopes, and import financial and data warehouse references. Keep the existing generated index without rebuilding after signature normalization.
1.5 KiB
1.5 KiB
Object - TMemoryStream 内存流
TMemoryStream
声明:class
TMemoryStream 内置对象
create()
声明:function
创建 TMemoryStream 实例
可见性:public
clear()
声明:function
清除内容
可见性:public
返回:any
loadFromFile(alias, file_name)
声明:function
从指定的文件中装载内容
可见性:public
| 参数 | 类型 | 说明 |
|---|---|---|
alias |
string | 字符串类型,目录别名。如果有系统权限,可以为空字符串 |
file_name |
string | 字符串类型,文件名,如果Alias为空,则为带全路径的文件名 |
返回:any
loadFromStream(stream)
声明:function
从指定的流中装载内容
可见性:public
| 参数 | 类型 | 说明 |
|---|---|---|
stream |
TStream | 流类型,如文件流,内存流等 |
返回:any
saveToFile(alias, file_name)
声明:function
将内容存贮到指定的文件中
可见性:public
| 参数 | 类型 | 说明 |
|---|---|---|
alias |
string | 字符串类型,目录别名。如果有系统权限,可以为空字符串 |
file_name |
string | 字符串类型,文件名,如果Alias为空,则为带全路径的文件名 |
返回:any
saveToStream(stream)
声明:function
将内容保存到指定的流中
可见性:public
| 参数 | 类型 | 说明 |
|---|---|---|
stream |
TStream | 流类型,如文件流,内存流等 |
返回:any