llvm::fromHex

Convert hexadecimal string Input to its binary representation. The return string is half the size of Input.

Synopsis

Declared in <llvm/ADT/StringExtras.h>

std::string
fromHex(StringRef Input);

Return Value

The binary decoding of Input.

Parameters

NameDescription
Inputhexadecimal text to decode