Qtbech32 0.1.1
Bech32 library
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

A type for the result of decoding.

Constructor & Destructor Documentation

◆ DecodeResult() [1/2]

bech32::DecodeResult::DecodeResult ( )
inline

◆ DecodeResult() [2/2]

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

Member Data Documentation

◆ data

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

The payload (excluding checksum)

◆ encoding

Encoding bech32::DecodeResult::encoding

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

◆ hrp

std::string bech32::DecodeResult::hrp

The human readable part.


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