![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
Utility class to read / write binary files.
Load a binary file.
Boolean, Murl.Data LoadBinaryFile(String name, Murl.Data data, Integer byteSize)
name | The file name. |
data | The data object to read the file into. |
byteSize | The maximum number of bytes to read, if zero the entire file is loaded. |
Save a string to a binary file.
Boolean SaveBinaryFile(String name, String string)
name | The file name. |
string | The string to write into the file. |
Save data to a binary file.
Boolean SaveBinaryFile(String name, Murl.ConstData data)
name | The file name. |
data | The data object to write into the file. |
Check if a folder exists.
Boolean FolderExists(String path, Boolean create)
path | The path and the folder. |
create | If the folder does not exist, create the folder if true. |