public static byte[] createMaxByteArray(int maxByteCount) {
    byte[] maxByteArray = new byte[maxByteCount];
    for (int i = 0; i < maxByteArray.length; i++) {
      maxByteArray[i] = (byte) 0xff;
    }
    return maxByteArray;
  }
Create a max byte array with the specified max byte count
@param maxByteCount the length of returned byte array
@return the created max byte array
hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java