Zero-copy view of the whole encoded document.
Bytes toBytes() => Bytes.view(buffer, byteOffset, byteLength);