LuaSTG-x Core API
|
Public Member Functions | |
function | Close () |
关闭文件流 More... | |
function | Flush () |
立即刷新缓冲区 More... | |
function | GetPosition () |
获取当前读写位置 More... | |
function | GetSize () |
获取文件大小 More... | |
function | init (local path, local mode) |
初始化文件流 More... | |
function | ReadByte () |
读取一个字节 More... | |
function | ReadBytes (local count) |
读取若干个字节 More... | |
function | Seek (local offset, local base) |
跳转到位置 More... | |
function | WriteByte (local b) |
写入一个字节 More... | |
function | WriteBytes (local data) |
写入字节数组 More... | |
function Close | ( | ) |
关闭文件流
function Flush | ( | ) |
立即刷新缓冲区
function GetPosition | ( | ) |
获取当前读写位置
function GetSize | ( | ) |
获取文件大小
function ReadByte | ( | ) |
读取一个字节