@Override
  public ByteRange shallowCopySubRange(int innerOffset, int copyLength) {
    SimpleByteRange clone = new SimpleByteRange(bytes, offset + innerOffset, copyLength);
    if (isHashCached()) {
      clone.hash = hash;
    }
    return clone;
  }
Create a new {@code ByteRange} over the provided {@code bytes}.
@param bytes  The array to wrap.
@param offset The offset into {@code bytes} considered the beginning of this range.
@param length The length of this range.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/SimpleByteRange.java