Decode a Bech32 or Bech32m string.
Declared in <bech32.h>
DecodeResult
Decode(
std::string const& str,
CharLimit limit = CharLimit::BECH32);
The decode result; its encoding is Encoding::INVALID on failure.
| Name | Description |
|---|---|
| str | The string to decode. |
| limit | The maximum accepted string length. |