@Override
  public ByteRange set(byte[] bytes) {
    if (super.bytes != null) {
      throw new ReadOnlyByteRangeException();
    }
    return super.set(bytes);
  }
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