Available on python
new(raw:RawIOBase)
peek(?n:Int):Null<Bytes>
raw:RawIOBase
read onlyclosed:Bool
detach():RawIOBase
@:value({ n : -1 })read(n:Int = -1):Null<Bytes>
@:value({ n : -1 })read1(n:Int = -1):Null<Bytes>
readinto(b:Bytearray):Int
write(b:Bytearray):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