class haxe.io.Bytes

Class Fields

static function alloc(length:Int): Bytes

static function ofData(b:BytesData): Bytes

static function ofString(s:String): Bytes

Instance Fields

function blit(pos:Int, src:Bytes, srcpos:Int, len:Int): Void

function fill(pos:Int, len:Int, value:Int): Void

function getString(pos:Int, len:Int): String

function setDouble(pos:Int, v:Float): Void

Store the IEEE double precision value at given position in low endian encoding. Result is unspecified if writing outside of the bounds.

function setFloat(pos:Int, v:Float): Void

Store the IEEE single precision value at given position in low endian encoding. Result is unspecified if writing outside of the bounds.

function sub(pos:Int, len:Int): Bytes

function toString(): String