/* This internal function only deal with Unicode character which maps to a valid hexadecimal ASII character, i.e. '0' to '9', 'a' to 'f' or 'A' to 'F'. For other ASCII character, the value returned does not make sense. */
UINTN EFIAPI InternalAsciiHexCharToUintn(IN CHAR8 Char)
/* This internal function only deal with Unicode character which maps to a valid hexadecimal ASII character, i.e. '0' to '9', 'a' to 'f' or 'A' to 'F'. For other ASCII character, the value returned does not make sense. */
UINTN EFIAPI InternalAsciiHexCharToUintn(IN CHAR8 Char)
{
  if (InternalIsDecimalDigitCharacter (Char)) {
    return Char - '0';
  }
  return (10 + AsciiCharToUpper (Char) - 'A');
}