[#BloombergLP-bdlb-Print-hexDump-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Print.adoc[Print]::hexDump
:relfileprefix: ../../../
:mrdocs:

Print in hexadecimal format the contents of the specified `buffer` of the specified `length` to the specified `stream`, and return a reference providing modifiable access to `stream`&period; The behavior is undefined unless `0 &lt;&equals; length`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
std::ostream&
hexDump(
    std::ostream& stream,
    char const* buffer,
    int length);
----


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