new ()
@:value(0)read onlyavailable:Int = 0
readAllAvailableBytes ():Bytes
readByte ():Int
readBytes (count:Int):Bytes
readUnsignedInt ():UInt
readUnsignedShort ():UInt
writeByte (v:Int):Void
writeBytes (data:Bytes):Void
writeInt (v:Int):Void
writeShort (v:Int):Void