llvm::ScopedPrinter::printBinary

printBinary overloads

Synopses

Declared in <llvm/Support/ScopedPrinter.h>

Print a labeled binary blob from a string's bytes.

void
printBinary(
    StringRef Label,
    StringRef Value);
» more...

Print a labeled binary blob of chars.

void
printBinary(
    StringRef Label,
    ArrayRef<char> Value);
» more...

Print a labeled binary blob of unsigned bytes.

void
printBinary(
    StringRef Label,
    ArrayRef<uint8_t> Value);
» more...

Print a labeled binary blob of chars with a symbolic string value.

void
printBinary(
    StringRef Label,
    StringRef Str,
    ArrayRef<char> Value);
» more...

Print a labeled binary blob with a symbolic string value.

void
printBinary(
    StringRef Label,
    StringRef Str,
    ArrayRef<uint8_t> Value);
» more...

Parameters

NameDescription
LabelField label to print.
ValueString whose bytes are printed.
StrSymbolic string associated with the bytes.