Create an ascii dumper for a leading length of the specified blob.

Synopsis

Declared in <bdlbb_blobutil.h>

BlobUtilAsciiDumper(
    Blob const* blob,
    int length);

Description

Create an ascii dumper for the specified blob that ascii dumps the first min(length, blob‐>length()) bytes of the blob to the output stream when passed to operator<<. See operator<<(bsl::ostream&, const BlobUtilAsciiDumper&) 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