Definition: bech32.cpp:35
Encoding
Definition: bech32.h:35
@ BECH32M
Bech32 encoding as defined in BIP173.
DecodeResult decode(const std::string &str)
Definition: bech32.cpp:209
std::string encode(const std::string &hrp, const data &values, Encoding encoding)
Definition: bech32.cpp:190
Encoding encoding
What encoding was detected in the result; Encoding::INVALID if failed.
Definition: bech32.h:49
std::vector< uint8_t > data
The payload (excluding checksum)
Definition: bech32.h:51
DecodeResult(Encoding enc, std::string &&h, std::vector< uint8_t > &&d)
Definition: bech32.h:56
std::string hrp
The human readable part.
Definition: bech32.h:50
DecodeResult()
Definition: bech32.h:53