[#bech32-DecodeResult-2constructor-06]
= xref:bech32.adoc[bech32]::xref:bech32/DecodeResult.adoc[DecodeResult]::DecodeResult
:relfileprefix: ../../
:mrdocs:

Constructs a result from a detected encoding, human&hyphen;readable part, and payload&period;

== Synopsis

Declared in `&lt;bech32&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
DecodeResult(
    xref:bech32/Encoding.adoc[Encoding] enc,
    std::string&& h,
    std::vector&lt;uint8&lowbar;t&gt;&& d);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *enc*
| The detected encoding&period;
| *h*
| The human&hyphen;readable part&period;
| *d*
| The decoded payload, excluding the checksum&period;
|===


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