Provides methods to read BytesRefs from a frozen PagedBytes.
.freeze
Returns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).
Reads length as 1 or 2 byte vInt prefix, starting at start.
Gets a slice out of PagedBytes starting at start with a given length. Iff the slice spans across a block border this method will allocate sufficient resources and copy the paged data.
Get the byte at the given offset.
Return the memory usage of this object in bytes. Negative values are illegal.