class haxe.io.BytesInput extends Input

Available on all platforms

Instance Fields

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

Available on flash

function readInt16():Int

Available on flash

function readInt32():Int

Available on flash

function readInt8():Int

Available on flash

function readString(len:Int):String

Available on flash

function readUInt16():Int

Available on flash