Utility for single‐line hex dumping of a string to output streams.
Synopsis
Declared in <bdlb_print.h>
struct PrintStringSingleLineHexDumper;
Description
This class has operator<< defined for it, so it can be used as follows: ` bsl::string str;
// ... fill up the str with some data ...
bsl::cout << PrintStringSingleLineHexDumper(str.c_str(), str.size()) << bsl::endl; `
Member Functions
Name |
Description |
|
Create a single‐line hex dumper for the specified |
Data Members
Name |
Description |
address of data to hex dump |
|
length in bytes of data to hex dump |
Created with MrDocs