Write a hexadecimal value to a stream.
Declared in <llvm/Support/NativeFormatting.h>
void
write_hex(
raw_ostream& S,
uint64_t N,
HexPrintStyle Style,
std::optional<size_t> Width = std::nullopt);
| Name | Description |
|---|---|
| S | Destination stream. |
| N | Value to write. |
| Style | Hexadecimal formatting style. |
| Width | Optional minimum field width; zero-pads when set. |