- getLength
The length of the range.
- set
Reuse this ByteRange over a new byte[]. A null bytes IS supported, in which case
this method will be
- deepCopyToNewArray
Instantiate a new byte[] with exact length, which is at least 24 bytes + length.
Copy the contents o
- getBytes
The underlying byte[].
- getOffset
The offset, the index into the underlying byte[] at which this range begins.
- deepCopySubRangeTo
Wrapper for System.arraycopy. Copy the contents of this range into the provided
array.
- setLength
Update the length of this range. offset + length should not be greater than
bytes.length.
- unset
Nullifies this ByteRange. That is, it becomes a husk, being a range over no
byte[] whatsoever.
- compareTo
- deepCopy
Create a new ByteRange with new backing byte[] containing a copy of the content
from this range's wi
- get
Fill dst with bytes from the range, starting from index. length bytes are copied
into dst, starting
- getInt
Retrieve the int value at index