#include <bech32.h>
Public Member Functions | |
DecodeResult () | |
DecodeResult (Encoding enc, std::string &&h, std::vector< uint8_t > &&d) | |
Public Attributes | |
Encoding | encoding |
What encoding was detected in the result; Encoding::INVALID if failed. More... | |
std::string | hrp |
The human readable part. More... | |
std::vector< uint8_t > | data |
The payload (excluding checksum) More... | |
A type for the result of decoding.
|
inline |
|
inline |
std::vector<uint8_t> bech32::DecodeResult::data |
The payload (excluding checksum)
Encoding bech32::DecodeResult::encoding |
What encoding was detected in the result; Encoding::INVALID if failed.
std::string bech32::DecodeResult::hrp |
The human readable part.