API documentation
class haxe.io.BytesBuffer
var length:Int
The length of the buffer in bytes.
function new(): Void
function getBytes(): Bytes
Returns either a copy or a reference of the current bytes. Once called, the buffer can no longer be used.