[#BloombergLP-bdlb-Print-singleLineHexDump-0cb] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Print.adoc[Print]::singleLineHexDump :relfileprefix: ../../../ :mrdocs: Print a contiguous byte range 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* begin, char const* end); ---- == Description Print to the specified `stream` the uppercase hex encoding of the byte sequence defined by the specified `begin` and `end` iterators into the specified `stream`, and return a reference providing modifiable access to `stream`. This function insulates clients from its implementation, but unlike the member template version (above), requires random access iterators of type `const char *`. The behavior is undefined unless both `begin` and `end` refer to the same block of contiguous memory, and `begin <= end`. == Return Value a reference to `stream` == Parameters [cols="1,4"] |=== | Name| Description | *stream* | the output stream | *begin* | pointer to the first byte | *end* | pointer past the last byte |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#