Create a hex dumper for a leading length of the specified blob.
Synopsis
Declared in <bdlbb_blobutil.h>
BlobUtilHexDumper(
Blob const* blob,
int length);
Description
Create a hex dumper for the specified blob that hex dumps the first min(length, blob‐>length()) bytes of the blob to the output stream when passed to operator<<. See operator<<(bsl::ostream&, const BlobUtilHexDumper&) for details. The behavior is undefined unless 0 <= length.
Parameters
Name |
Description |
blob |
blob to dump |
length |
maximum number of bytes to dump |
Created with MrDocs