Moved base64 transform and validation functions.

This commit is contained in:
Jari Sundell
2026-06-03 23:37:01 +02:00
committed by GitHub
parent f1cfe8ad72
commit a5a96236df
5 changed files with 13 additions and 59 deletions
-4
View File
@@ -8,10 +8,6 @@
namespace utils {
// TODO: Refactor and move to torrent/string_manip.h.
std::optional<std::vector<uint8_t>> base64_to_vector_unsafe(const std::string& src);
std::string openssl_base64_encode(const std::string& src);
// TODO: Deprecate.
std::string remove_newlines(const std::string& str);
std::string decode_base64(const std::string& input);