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, ?len:Int):Void
function readByte():Int
function readBytes(buf:Bytes, pos:Int, len:Int):Int
function readDouble():Float
Available on flash
function readFloat():Float
function readInt16():Int
function readInt32():Int
function readInt8():Int
function readString(len:Int):String
function readUInt16():Int