Logo


search API (or start typing anywhere)


IO

snow.core.native.io.IO defined in ``


class
implements snow.modules.interfaces.IO
meta: @:allow(snow.systems.io.IO)


 

Members


Methods


app_path
app_path() : String

app_path_prefs

app_path_prefs() : String

data_load

data_load(_path:String, _options:snow.types.IODataOptions) : snow.api.Promise

data_save

data_save(_path:String, _data:snow.api.buffers.Uint8Array, _options:snow.types.IODataOptions) : Bool

file_close

file_close(handle:snow.types.FileHandle) : Int

file_handle

file_handle(_path:String, _mode:String) : snow.types.FileHandle

file_handle_from_mem

file_handle_from_mem(mem:snow.api.buffers.ArrayBufferView, size:Int) : snow.types.FileHandle

file_read

file_read(handle:snow.types.FileHandle, dest:snow.api.buffers.ArrayBufferView, size:Int, maxnum:Int) : Int

file_seek

file_seek(handle:snow.types.FileHandle, offset:Int, whence:Int) : Int

file_size

file_size(handle:snow.types.FileHandle) : UInt

file_tell

file_tell(handle:snow.types.FileHandle) : Int

file_write

file_write(handle:snow.types.FileHandle, src:snow.api.buffers.ArrayBufferView, size:Int, num:Int) : Int

string_save_path

string_save_path(_slot:Int) : String

url_open

url_open(_url:String) : Void