Print a buffer as uppercase hex on a single line.
Declared in <bdlb_print.h>
static
std::ostream&
singleLineHexDump(
std::ostream& stream,
char const* buffer,
int length);
Print to the specified stream the contents of the specified buffer having the specified length on a single line, and return a reference to the modifiable stream. The behavior is undefined unless 0 <= length.
a reference to stream
| Name | Description |
|---|---|
| stream | the output stream |
| buffer | the memory buffer to dump |
| length | the length of buffer in bytes |