[#BloombergLP-balxml-TypesPrintUtil-printHex] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/TypesPrintUtil.adoc[TypesPrintUtil]::printHex :relfileprefix: ../../../ :mrdocs: Format the specified `object` to the specified output `stream` using the `bdlat_FormattingMode::e_HEX` formatting mode and the optionally specified `encoderOptions`. Return a reference to `stream`. == Synopsis Declared in `<balxml_typesprintutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static std::ostream& printHex( std::ostream& stream, TYPE const& object, xref:BloombergLP/balxml/EncoderOptions.adoc[EncoderOptions] const* encoderOptions = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#