static int parseInt32(final String text) throws NumberFormatException
    {
        return (int) parseInteger(text, true, false);
    }
Parse a 32-bit signed integer from the text. Unlike the Java standard {@code Integer.parseInt()}, this function
recognizes the prefixes "0x" and "0" to signify hexidecimal and octal numbers, respectively.
protostuff-parser/src/main/java/io/protostuff/parser/TextFormat.java