add base64 library

This commit is contained in:
MihailRis
2024-11-18 11:52:06 +03:00
parent 712c0756b8
commit 0bfc5d2ad4
6 changed files with 62 additions and 3 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ namespace util {
std::string base64_encode(const ubyte* data, size_t size);
util::Buffer<ubyte> base64_decode(const char* str, size_t size);
util::Buffer<ubyte> base64_decode(const std::string& str);
util::Buffer<ubyte> base64_decode(std::string_view str);
std::string tohex(uint64_t value);