Format Bytes as a hex dump without an ASCII column.
Declared in <llvm/Support/Format.h>
FormattedBytes
format_bytes(
ArrayRef<uint8_t> Bytes,
std::optional<uint64_t> FirstByteOffset = std::nullopt,
uint32_t NumPerLine = 16,
uint8_t ByteGroupSize = 4,
uint32_t IndentLevel = 0,
bool Upper = false);
| 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. |
| FirstByteOffset | Class template for optional values. |