Available on python
@:value({ n : -1 })read(n:Int = -1):Null<Bytes>
readall():Bytes
readinto(b:Bytearray):Null<Int>
write(b:Bytearray):Null<Int>