BloombergLP::bdlbb::BlobUtilAsciiDumper::BlobUtilAsciiDumper

Constructors

Synopses

Declared in <bdlbb_blobutil.h>

Create an ascii dumper for the specified blob that dumps the entire blob to the output stream when passed to operator<<. See operator<<(bsl::ostream&, const BlobUtilAsciiDumper&) for details.

explicit
BlobUtilAsciiDumper(Blob const* blob);
» more...

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.

BlobUtilAsciiDumper(
    Blob const* blob,
    int length);
» more...

Create a hex 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.

BlobUtilAsciiDumper(
    Blob const* blob,
    int offset,
    int length);
» more...