BloombergLP::bdlb::Print::hexDump

hexDump overloads

Synopses

Declared in <bdlb_print.h>

Print multiple buffers in hexadecimal format to a stream.

static
std::ostream&
hexDump(
    std::ostream& stream,
    bsl::pair<char const*, int>* buffers,
    int numBuffers);
» more...

Print a buffer in hexadecimal format to a stream.

static
std::ostream&
hexDump(
    std::ostream& stream,
    char const* buffer,
    int length);
» more...

Return Value

a reference to stream

Parameters

NameDescription
streamthe output stream
buffersarray of buffer pointer/length pairs
numBuffersnumber of entries in buffers
bufferthe memory buffer to dump
lengththe length of buffer in bytes