singleLineHexDump overloads

Synopses

Declared in <bdlb_print.h>

Print a contiguous byte range as uppercase hex on a single line.

static
std::ostream&
singleLineHexDump(
    std::ostream& stream,
    char const* begin,
    char const* end);

Print a buffer as uppercase hex on a single line.

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

Print a byte sequence as uppercase hex on a single line.

template<class INPUT_ITERATOR>
static
std::ostream&
singleLineHexDump(
    std::ostream& stream,
    INPUT_ITERATOR begin,
    INPUT_ITERATOR end);

Return Value

a reference to stream

Parameters

Name

Description

stream

the output stream

begin

pointer to the first byte

end

pointer past the last byte

buffer

the memory buffer to dump

length

the length of buffer in bytes

Created with MrDocs