/guava/guava/src/com/google/common/primitives/Longs.java
accum -= digit;accum *= radix;
accum *= radix;
long cap = Long.MIN_VALUE / radix; while (index < string.length()) { digit = AsciiDigits.digit(string.charAt(index++)); if (digit < 0 || digit >= radix || accum < cap) { return null; } <extra_id_0> if (accum < Long.MIN_VALUE + digit) { return null; } accum -= digit; } if (negative) {