public static void main(final String[] args) {
        System.out.println(String.valueOf(Integer.MAX_VALUE).length());
        System.out.println(String.valueOf(Integer.MIN_VALUE).length());
    }
All possible chars for representing a number as a String
metamorphosis-commons/src/main/java/com/taobao/metamorphosis/network/ByteUtils.java