Available on python
mode:String
The mode as given in the constructor.
name:String
The file name. This is the file descriptor of the file when no name is given in the constructor.
read onlyclosed:Bool
@:value({ n : -1 })read(n:Int = -1):Null<Bytes>
readall():Bytes
readinto(b:Bytearray):Null<Int>
write(b:Bytearray):Null<Int>
close():Void
fileno():Int
flush():Void
readable():Bool
@:value({ limit : -1 })readline(limit:Int = -1):String
@:value({ hint : -1 })readlines(hint:Int = -1):Array<String>
seek(offset:Int, whence:SeekSet):Int
seekable():Bool
tell():Int
truncate(size:Int):Int
writable():Bool