[#BloombergLP-bdlb-Print-singleLineHexDump-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Print.adoc[Print]::singleLineHexDump :relfileprefix: ../../../ :mrdocs: Print a buffer as uppercase hex on a single line. == Synopsis Declared in `<bdlb_print.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::ostream& singleLineHexDump( std::ostream& stream, char const* buffer, int length); ---- == Description Print to the specified `stream` the contents of the specified `buffer` having the specified `length` on a single line, and return a reference to the modifiable `stream`. The behavior is undefined unless `0 <= length`. == Return Value a reference to `stream` == Parameters [cols="1,4"] |=== | Name| Description | *stream* | the output stream | *buffer* | the memory buffer to dump | *length* | the length of `buffer` in bytes |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#