class haxe.io.Bytes
Available on all platforms
static function alloc(length:Int):Bytes
static function ofData(b:BytesData):Bytes
static function ofString(s:String):Bytes
var length:Int
function blit(pos:Int, src:Bytes, srcpos:Int, len:Int):Void
function get(pos:Int):Int
function getString(pos:Int, len:Int):String
function set(pos:Int, v:Int):Void
function setInt32(pos:Int, v:Int):Void
Store the 32 bit integer at given position (in low endian encoding).
function setUInt16(pos:Int, v:Int):Void
Returns the 16 bit unsignged integer at given position (in low endian encoding).
function toString():String