Decode a base32‐encoded string.

Synopsis

Declared in <util/strencodings.h>

std::optional<std::vector<unsigned char>>
DecodeBase32(std::string_view str);

Return Value

The decoded bytes, or std::nullopt if the input is not valid base32.

Parameters

Name

Description

str

The base32 text to decode.

Created with MrDocs