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);

Print a buffer in hexadecimal format to a stream.

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

Return Value

a reference to stream

Parameters

Name

Description

stream

the output stream

buffers

array of buffer pointer/length pairs

numBuffers

number of entries in buffers

buffer

the memory buffer to dump

length

the length of buffer in bytes

Created with MrDocs