12 #ifndef BITCOIN_BECH32_H 13 #define BITCOIN_BECH32_H 23 std::string
Encode(
const std::string& hrp,
const std::vector<uint8_t>& values);
26 std::pair<std::string, std::vector<uint8_t>>
Decode(
const std::string& str);
30 #endif // BITCOIN_BECH32_H std::pair< std::string, data > Decode(const std::string &str)
Decode a Bech32 string.
std::string Encode(const std::string &hrp, const data &values)
Encode a Bech32 string.