[#BloombergLP-bdlb-Print-singleLineHexDump-0c5]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Print.adoc[Print]::singleLineHexDump
:relfileprefix: ../../../
:mrdocs:

Print a byte sequence as uppercase hex on a single line&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;print&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class INPUT&lowbar;ITERATOR&gt;
static
std::ostream&
singleLineHexDump(
    std::ostream& stream,
    INPUT&lowbar;ITERATOR begin,
    INPUT&lowbar;ITERATOR end);
----

== Description

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&lowbar;ITERATOR` type, and return a reference providing modifiable access to `stream`&period; Note that `INPUT&lowbar;ITERATOR` need not be random&hyphen;access, i&period;e&period;, it need support only increment (`&plus;&plus;`) and equality comparison (`&equals;&equals;`)&period; See the non&hyphen;template version of this function if insulation and&sol;or code bloat are a concern&period;

== Return Value

a reference to `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| the output stream
| *begin*
| iterator to the first byte
| *end*
| iterator past the last byte
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
