bech32::DecodeResult::DecodeResult

Constructors

Synopses

Declared in <bech32.h>

Constructs an empty result marked as invalid.

DecodeResult();
» more...

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

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

Parameters

NameDescription
encThe detected encoding.
hThe human-readable part.
dThe decoded payload, excluding the checksum.