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