Convert `Bytes' to a hex string and output to `OS'

Synopsis

Declared in <llvm/MC/MCInstPrinter.h>

void
dumpBytes(
    ArrayRef<uint8_t> Bytes,
    raw_ostream& OS);

Parameters

Name

Description

Bytes

Represent a constant reference to an array (0 or more elements consecutively in memory), i.e. a start pointer and a length. It allows various APIs to take consecutive elements easily and conveniently.

OS

This class implements an extremely fast bulk output stream that can only output to a stream. It does not support seeking, reopening, rewinding, line buffered disciplines etc. It is a simple buffer that outputs a chunk at a time.

Created with MrDocs