BloombergLP::bdlb::PrintStringSingleLineHexDumper::PrintStringSingleLineHexDumper

Create a single-line hex dumper for the specified data of the specified length.

Synopsis

Declared in <bdlb_print.h>

PrintStringSingleLineHexDumper(
    char const* data,
    int length);

Description

Create a PrintStringSingleLineHexDumper object that can insert to an output stream a single-line hexadecimal representation the specified data of the specified length.

Parameters

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