File
class neko.io.FileAvailable in nekoAPI for reading and writing to files. (example: File IO)
static function append( path : String, ?binary : Bool ) : FileOutputOpen a file to append to it.
static function copy( src : String, dst : String ) : VoidCopies the file at
src to a file named dst. If dst exists it will be overwritten.
static function getBytes( path : String ) : BytesRead the specified file, return its content as a Bytes object.
static function getChar( echo : Bool ) : IntReads a character from the console. Can be used to cause a program to wait for input.
static function getContent( path : String ) : StringRead the specified file, return its content as a String.
static function read( path : String, ?binary : Bool ) : FileInputOpen a File for reading.
static function stderr() : FileOutputThe current program's stderr output stream.
static function stdin() : FileInputThe current program's stdin stream.
static function stdout() : FileOutputThe current program's stdout stream.
static function write( path : String, ?binary : Bool ) : FileOutputOpen a file for writing.
version #12246, modified 2012-01-18 22:43:07 by emceekay