Create a hex dumper for a leading length of the specified blob.
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.
| Name | Description |
|---|---|
| blob | blob to dump |
| length | maximum number of bytes to dump |