Constructors

Synopses

Declared in <bdlbb_blobutil.h>

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

explicit
BlobUtilHexDumper(Blob const* 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.

BlobUtilHexDumper(
    Blob const* blob,
    int length);

Create a hex dumper for the specified blob that hex 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 BlobUtilHexDumper&) for details. The behavior is undefined unless 0 <= offset && 0 <= length.

BlobUtilHexDumper(
    Blob const* blob,
    int offset,
    int length);

Created with MrDocs