Android Utililty Methods Char to Int Convert

List of utility methods to do Char to Int Convert

Description

The list of methods to do Char to Int Convert are organized into topic(s).

Method

inttoDigit(char ch, int index)
hex to int
int digit = Character.digit(ch, 16);
if (digit == -1) {
    throw new RuntimeException("Illegal hexadecimal character "
            + ch + " at index " + index);
return digit;