public byte[] getBytes() {
    return bytes;
  }
This class encapsulates a byte array and overrides hashCode and equals so that it's identity is
based on the data rather than the array instance.
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HashedBytes.java