// add and check for overflows
int pos = len - i - 1;
int charIndex = StringUtils.indexOf(CONSTANT.ALPHANUMERIC_DIGITS, ch);
BigInteger added = sixtyTwo.pow(pos).multiply(new BigInteger(charIndex + ""));
result = new UnsignedLong(result.bigIntegerValue().add(added));
}
return result;
}