[#BloombergLP-bslim-Printer-printHexAddr]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::xref:BloombergLP/bslim/Printer.adoc[Printer]::printHexAddr
:relfileprefix: ../../../
:mrdocs:

Write to the output stream supplied at construction the specified `address` in a hexadecimal format, if `address` is not 0, and print the string &quot;NULL&quot; otherwise, prefixed by the specified `name` if `name` is not 0&period; If `spacesPerLevel() &lt; 0`, print on a single line&period; If `spacesPerLevel() &gt;&equals; 0`, indent by `(absLevel() &plus; 1) &ast; spacesPerLevel()` blank spaces&period;

== Synopsis

Declared in `&lt;bslim&lowbar;printer&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
printHexAddr(
    void const* address,
    char const* name) const;
----


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