Write a hex dump of a blob byte range to the stream.
Declared in <bdlbb_blobutil.h>
static
std::ostream&
hexDump(
std::ostream& stream,
Blob const& source,
int offset,
int length);
Write to the specified stream a hexdump of the specified length bytes of the specified source starting at the specified offset, and return a reference to the modifiable stream. The behavior is undefined unless 0 <= offset, 0 <= length, length <= source.length() and offset <= source.length() - length.
reference to the modifiable stream
| Name | Description |
|---|---|
| stream | output stream |
| source | blob to dump |
| offset | starting byte offset in source |
| length | number of bytes to dump |