[#BloombergLP-bdlb-PrintStringSingleLineHexDumper] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::PrintStringSingleLineHexDumper :relfileprefix: ../../ :mrdocs: Utility for hex dumping a string with no extra formatting to standard output streams. This class has `operator<<` defined for it, so it can be used as follows: ` bsl::string str; == Synopsis Declared in `<bdlb_print.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct PrintStringSingleLineHexDumper; ---- == Description // ... fill up the str with some data ... bsl::cout << PrintStringSingleLineHexDumper(str.c_str(), str.size()) << bsl::endl; ` == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/PrintStringSingleLineHexDumper/2constructor.adoc[`PrintStringSingleLineHexDumper`] [.small]#[constructor]# | Create a `PrintStringSingleLineHexDumper` object that can insert to an output stream a single‐line hexadecimal representation the specified `data` of the specified `length`. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/PrintStringSingleLineHexDumper/d_data_p.adoc[`d_data_p`] | address of data to hex dump | xref:BloombergLP/bdlb/PrintStringSingleLineHexDumper/d_length.adoc[`d_length`] | length in bytes of data to hex dump |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#