[#BloombergLP-bdlb-Print-singleLineHexDump-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Print.adoc[Print]::singleLineHexDump :relfileprefix: ../../../ :mrdocs: `singleLineHexDump` overloads == Synopses Declared in `<bdlb_print.h>` 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`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::ostream& xref:BloombergLP/bdlb/Print/singleLineHexDump-0cb.adoc[singleLineHexDump]( std::ostream& stream, char const* begin, char const* end); ---- [.small]#xref:BloombergLP/bdlb/Print/singleLineHexDump-0cb.adoc[_» more..._]# 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`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::ostream& xref:BloombergLP/bdlb/Print/singleLineHexDump-02.adoc[singleLineHexDump]( std::ostream& stream, char const* buffer, int length); ---- [.small]#xref:BloombergLP/bdlb/Print/singleLineHexDump-02.adoc[_» more..._]# Print to the specified `stream` the uppercase hex encoding of the byte sequence defined by the specified `begin` and `end` iterators of the parameterized `INPUT_ITERATOR` type, and return a reference providing modifiable access to `stream`. Note that `INPUT_ITERATOR` need not be random‐access, i.e., it need support only increment (`++`) and equality comparison (`==`). See the non‐template version of this function if insulation and/or code bloat are a concern. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class INPUT_ITERATOR> static std::ostream& xref:BloombergLP/bdlb/Print/singleLineHexDump-0c5.adoc[singleLineHexDump]( std::ostream& stream, INPUT_ITERATOR begin, INPUT_ITERATOR end); ---- [.small]#xref:BloombergLP/bdlb/Print/singleLineHexDump-0c5.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#