class haxe.io.BytesInput extends Input
Available on all platforms
var length:Int
The length of the stream in bytes.
var position:Int
The current position in the stream in bytes.
function new(b:Bytes, ?pos:Int = null, ?len:Int = null):Void
function readByte():Int
function readBytes(buf:Bytes, pos:Int, len:Int):Int