W3cubDocs

/Haxe C++

NativeFile

package cpp

Available on cpp

Static methods

static file_close (handle:Dynamic):Void

static file_contents_bytes (name:String):BytesData

static file_contents_string (name:String):String

static file_eof (handle:Dynamic):Bool

static file_flush (handle:Dynamic):Void

static file_open (fname:String, r:String):Dynamic

static file_read (handle:Dynamic, s:BytesData, p:Int, n:Int):Int

static file_read_char (handle:Dynamic):Int

static file_seek (handle:Dynamic, pos:Int, kind:Int):Void

static file_stderr ():Dynamic

static file_stdin ():Dynamic

static file_stdout ():Dynamic

static file_tell (handle:Dynamic):Int

static file_write (handle:Dynamic, s:BytesData, p:Int, n:Int):Int

static file_write_char (handle:Dynamic, c:Int):Void

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/cpp/NativeFile.html