Quick Links: |
#include <bdlbb_blobutil.h>
Public Member Functions | |
BlobUtilHexDumper (const Blob *blob) | |
BlobUtilHexDumper (const Blob *blob, int offset, int length) | |
Public Attributes | |
const Blob * | d_blob_p |
int | d_offset |
int | d_length |
Utility for hex dumping a blob to standard output streams. This class has operator<<
defined for it, so it can be used, for example, in ball
logs.
bdlbb::BlobUtilHexDumper::BlobUtilHexDumper | ( | const Blob * | blob | ) | [explicit] |
Create a hex dumper for the specified blob
.
bdlbb::BlobUtilHexDumper::BlobUtilHexDumper | ( | const Blob * | blob, | |
int | offset, | |||
int | length | |||
) |
Create a hex dumper for the specified blob
that dumps the specified length
bytes starting at the specified offset
.