ΒΆinline bool tryGetFromHex(llvm::StringRef Input,
                          std::string& Output)

Description

Convert hexadecimal string \p Input to its binary representation and store the result in \p Output. Returns true if the binary representation could be converted from the hexadecimal string. Returns false if \p Input contains non-hexadecimal digits. The output string is half the size of \p Input.

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

Parameters

llvm::StringRef Input
std::string& Output