class haxe.io.BytesBuffer
Available on all platforms
var length:Int
The length of the buffer in bytes.
function new():Void
function add(src:Bytes):Void
function addByte(byte:Int):Void
function addBytes(src:Bytes, pos:Int, len:Int):Void
function addDouble(v:Float):Void
function addFloat(v:Float):Void
function addString(v:String):Void
function getBytes():Bytes
Returns either a copy or a reference of the current bytes. Once called, the buffer can no longer be used.