public static byte[] format(final int number) {
    byte[] b = new byte[DEFAULT_ROW_PREFIX_LENGTH + 10];
    int d = Math.abs(number);
    for (int i = b.length - 1; i >= 0; i--) {
      b[i] = (byte) ((d % 10) + '0');
      d /= 10;
    }
    return b;
  }
Format passed integer.
@param number the integer to format
@return Returns zero-prefixed 10-byte wide decimal version of passed number (Does absolute in
        case number is negative).
hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/PerformanceEvaluation.java