Decode a base64-encoded string.
Declared in <util/strencodings.h>
std::optional<std::vector<unsigned char>>
DecodeBase64(std::string_view str);
The decoded bytes, or std::nullopt if the input is not valid base64.
| Name | Description |
|---|---|
| str | The base64 text to decode. |