[#DecodeHexBlk]
= DecodeHexBlk
:mrdocs:

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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
bool
DecodeHexBlk(
    xref:CBlock.adoc[CBlock]& block,
    std::string const& strHexBlk);
----

== Return Value

True if the block was decoded successfully&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

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


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