[#bech32-DecodeResult-2constructor-03] = xref:bech32.adoc[bech32]::xref:bech32/DecodeResult.adoc[DecodeResult]::DecodeResult :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<bech32.h>` Constructs an empty result marked as invalid. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bech32/DecodeResult/2constructor-07.adoc[DecodeResult](); ---- [.small]#xref:bech32/DecodeResult/2constructor-07.adoc[_» more..._]# Constructs a result from a detected encoding, human‐readable part, and payload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bech32/DecodeResult/2constructor-06.adoc[DecodeResult]( xref:bech32/Encoding.adoc[Encoding] enc, std::string&& h, std::vector<uint8_t>&& d); ---- [.small]#xref:bech32/DecodeResult/2constructor-06.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *enc* | The detected encoding. | *h* | The human‐readable part. | *d* | The decoded payload, excluding the checksum. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#