Create an ascii dumper for a byte range within the specified blob.
Declared in <bdlbb_blobutil.h>
BlobUtilAsciiDumper(
Blob const* blob,
int offset,
int length);
Create an ascii dumper for the specified blob that ascii 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 BlobUtilAsciiDumper&) 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 |