Bitcoin Core  22.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
bech32::DecodeResult Struct Reference

#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...
 

Detailed Description

Definition at line 34 of file bech32.h.

Constructor & Destructor Documentation

◆ DecodeResult() [1/2]

bech32::DecodeResult::DecodeResult ( )
inline

Definition at line 40 of file bech32.h.

◆ DecodeResult() [2/2]

bech32::DecodeResult::DecodeResult ( Encoding  enc,
std::string &&  h,
std::vector< uint8_t > &&  d 
)
inline

Definition at line 41 of file bech32.h.

Member Data Documentation

◆ data

std::vector<uint8_t> bech32::DecodeResult::data

The payload (excluding checksum)

Definition at line 38 of file bech32.h.

◆ encoding

Encoding bech32::DecodeResult::encoding

What encoding was detected in the result; Encoding::INVALID if failed.

Definition at line 36 of file bech32.h.

◆ hrp

std::string bech32::DecodeResult::hrp

The human readable part.

Definition at line 37 of file bech32.h.


The documentation for this struct was generated from the following file: