class haxe.io.BytesOutput extends Output
Available on all platforms
var length:Int
The length of the stream in bytes.
function new():Void
function getBytes():Bytes
function writeByte(c:Int):Void
function writeBytes(buf:Bytes, pos:Int, len:Int):Int