[#DecodeHexBlockHeader]
= DecodeHexBlockHeader
:mrdocs:

Decode a hex&hyphen;encoded serialized block header&period;

== Synopsis

Declared in `&lt;core&lowbar;io&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
DecodeHexBlockHeader(
    xref:CBlockHeader.adoc[CBlockHeader]& header,
    std::string const& hex&lowbar;header);
----

== Return Value

True if the header was decoded successfully&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *header*
| Block header populated with the decoded data on success&period;
| *hex&lowbar;header*
| Hex string holding the serialized block header&period;
|===


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