Print a buffer in hexadecimal format to a stream.
Declared in <bdlb_print.h>
static
std::ostream&
hexDump(
std::ostream& stream,
char const* buffer,
int length);
Print in hexadecimal format the contents of the specified buffer of the specified length to the specified stream, and return a reference providing modifiable access to 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 |