toBytes method

BuBytes toBytes()

new copy from buffer.

Implementation

BuBytes toBytes() {
  return _buffer.cloneBytes();
}