ΒΆinline bool tryGetHexFromNibbles(char MSB,
                                 char LSB,
                                 uint8_t& Hex)

Description

Store the binary representation of the two provided values, \p MSB and\p LSB, that make up the nibbles of a hexadecimal digit. If \p MSB or \p LSB do not correspond to proper nibbles of a hexadecimal digit, this method returns false. Otherwise, returns true.

Declared at: llvm/include/llvm/ADT/StringExtras.h:196

Parameters

char MSB
char LSB
uint8_t& Hex