Result of decoding a Bech32(m) string: its encoding, human-readable part, and payload.
Declared in <bech32.h>
struct DecodeResult;
| Name | Description |
|---|---|
DecodeResult [constructor] | Constructors |
| Name | Description |
|---|---|
data | The payload (excluding checksum) |
encoding | What encoding was detected in the result; Encoding::INVALID if failed. |
hrp | The human readable part |
| Name | Description |
|---|---|
Decode | Decode a Bech32 or Bech32m string. |