new()
read onlywrite onlylength:Int
The length of the buffer in bytes.
addByte(byte:Int):Void
addBytes(src:Bytes, pos:Int, len:Int):Void
getBytes():Bytes
Returns either a copy or a reference of the current bytes. Once called, the buffer should no longer be used.