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

Synopsis

Declared in <bech32.h>

struct DecodeResult;

Member Functions

Name

Description

DecodeResult [constructor]

Constructors

Data Members

Name

Description

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

Name

Description

Decode

Decode a Bech32 or Bech32m string.

Created with MrDocs