[#BloombergLP-bdlb-Print-hexDump-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Print.adoc[Print]::hexDump :relfileprefix: ../../../ :mrdocs: Print a buffer in hexadecimal format to a stream. == Synopsis Declared in `<bdlb_print.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::ostream& hexDump( std::ostream& stream, char const* buffer, int length); ---- == Description 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`. 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]#