Description
ByteRange is a useful alternative to Java's ByteBuffer. Notably, it is mutable and an instance can be assigned over a byte[] after instantiation. This is valuable as a performance consideration when working with byte[] slices in a tight loop. Its current design is such that it is not possible to consume a portion of the range while performing activities like decoding an object without altering the definition of the range. It should provide a position that is independent from the range's offset and length to make partial reads easier.
Attachments
Attachments
Issue Links
- is depended upon by
-
HBASE-8201 OrderedBytes: an ordered encoding strategy
- Closed
- relates to
-
HBASE-8089 Add type support
- Closed