public int compareTo(final byte[] that) {
    return BYTES_RAWCOMPARATOR.compare(this.bytes, this.offset, this.length, that, 0, that.length);
  }
Compares the bytes in this object to the specified byte array
@return Positive if left is bigger than right, 0 if they are equal, and negative if left is
        smaller than right.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java