Available on python
new(buffer:BufferedIOBase, ?options:KwArgs<TextIOWrapperOptions>)
line_buffering:Bool
buffer:BufferedIOBase
encoding:String
error:String
newlines:Null<EitherType<String, Tuple<String>>>
read onlyclosed:Bool
detach():BufferedIOBase
read(n:Int):String
write(s:String):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