class haxe.io.BytesInput extends Input

Instance Fields

Show inherited public instance fieldsHide inherited public instance fields

Inherited from Input

var bigEndian:Bool
function close():Void
function read(nbytes:Int):Bytes
function readByte():Int
function readBytes(s:Bytes, pos:Int, len:Int):Int
function readFullBytes(s:Bytes, pos:Int, len:Int):Void
function readInt32():Int
function readLine():String
function readString(len:Int):String

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