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

Result of decoding a Bech32(m) string&colon; its encoding, human&hyphen;readable part, and payload&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct DecodeResult;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:bech32/DecodeResult/2constructor-03.adoc[`DecodeResult`]         [.small]#[constructor]#
| Constructors
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:bech32/DecodeResult/data.adoc[`data`] 
| The payload (excluding checksum)
| xref:bech32/DecodeResult/encoding.adoc[`encoding`] 
| What encoding was detected in the result&semi; Encoding&colon;&colon;INVALID if failed&period;
| xref:bech32/DecodeResult/hrp.adoc[`hrp`] 
| The human readable part
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:bech32/Decode.adoc[`Decode`]
| Decode a Bech32 or Bech32m string&period;
|===


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