bech32::DecodeResult::DecodeResult

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

Synopsis

Declared in <bech32.h>

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

Parameters

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