public static String toStringBinary(final byte[] b) {
    if (b == null) return "null";
    return toStringBinary(b, 0, b.length);
  }
Write a printable representation of a byte array.
@param b byte array
@see #toStringBinary(byte[], int, int)
hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java