public static ImmutableByteArray wrap(byte[] b) {
    return new ImmutableByteArray(b);
  }
Mainly used as keys for HashMap.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/ImmutableByteArray.java