bech32::DecodeResult

Result of decoding a Bech32(m) string: its encoding, human-readable part, and payload.

Synopsis

Declared in <bech32.h>

struct DecodeResult;

Member Functions

NameDescription
DecodeResult [constructor]Constructors

Data Members

NameDescription
data The payload (excluding checksum)
encoding What encoding was detected in the result; Encoding::INVALID if failed.
hrp The human readable part

Non-Member Functions

NameDescription
DecodeDecode a Bech32 or Bech32m string.