BloombergLP::bdlbb::operator<<

Write an ascii dump of the referenced blob range to the stream.

Synopsis

Declared in <bdlbb_blobutil.h>

std::ostream&
operator<<(
    std::ostream& stream,
    BlobUtilAsciiDumper const& rhs);

Description

Ascii-dump to the specified stream the bytes of the blob referenced by the specified rhs starting with the min(rhs.d_offset, rhs.d_blob_p->length()) byte and until min(rhs.d_offset + rhs.d_length, rhs.d_blob_p->length()) byte, and return a reference to the modifiable stream.

Return Value

reference to the modifiable stream

Parameters

NameDescription
streamoutput stream
rhsascii dumper describing the blob range to write