Create a hex dumper for a byte range within the specified blob.
Declared in <bdlbb_blobutil.h>
BlobUtilHexDumper(
Blob const* blob,
int offset,
int length);
Create a hex dumper for the specified blob that hex dumps the bytes of the blob starting with the min(offset, blob->length()) byte and until min(offset + length, blob->length()) byte to the output stream when passed to operator<<. See operator<<(bsl::ostream&, const BlobUtilHexDumper&) for details. The behavior is undefined unless 0 <= offset && 0 <= length.
| Name | Description |
|---|---|
| blob | blob to dump |
| offset | starting byte offset in blob |
| length | maximum number of bytes to dump |