/* * SPDX-License-Identifier: GPL-3.0-or-later * SPDX-FileCopyrightText: 2019-2020 Johan Ouwerkerk */ #ifndef BASE32_H #define BASE32_H #include #include #include namespace base32 { std::optional validate(const QString &encoded, int from = 0, int until = -1); std::optional decode(const QString &encoded, char *const out, size_t outlen, int from = 0, int until = -1); std::optional decode(const QString &input); } #endif