Available on python
write(object:Dynamic):Void
writelines(list:Array<String>):Void
read(?size:Int, ?chars:Int, ?firstline:Bool):String
@:value({ keepsend : false })readline(?size:Int, keepsend:Bool = false):String
@:value({ keepsend : false })readlines(?sizehint:Int, keepsend:Bool = false):Array<String>
reset():Void
@:value({ errors : "strict" })decode(input:Dynamic, errors:String = "strict"):Tuple2<Bytes, Int>
@:value({ errors : "strict" })encode(input:Dynamic, errors:String = "strict"):Tuple2<String, Int>