xDigitToInt
If character c is a hexadecimal digit, return accumulator * 16 plus the corresponding number. Otherwise return -1.
If character c is a hexadecimal digit, return accumulator * 16 plus the corresponding number. Otherwise return -1.