Constructors

Synopses

Declared in <bech32.h>

Constructs an empty result marked as invalid.

Constructs a result from a detected encoding, human‐readable part, and payload.

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

Parameters

Name

Description

enc

The detected encoding.

h

The human‐readable part.

d

The decoded payload, excluding the checksum.

Created with MrDocs