BloombergLP::bdlb::PrintStringHexDumper::PrintStringHexDumper

Create a hex dumper for the specified data of the specified length.

Synopsis

Declared in <bdlb_print.h>

PrintStringHexDumper(
    char const* data,
    int length);

Description

Create a PrintStringHexDumper object that can insert to an output stream a formated (possibly multi-lined) hexadecimal representation the specified data of the specified length.

Parameters

NameDescription
datapointer to the bytes to dump
lengthlength of data in bytes