private static byte hexCharsToByte(char c1, char c2) {
    return (byte) ((hexCharToNibble(c1) << 4) | hexCharToNibble(c2));
  }
Convert a byte array into a hex string
hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java