libdonut 2.3.6
Application framework for cross-platform game development in C++20
Loading...
Searching...
No Matches
base64.hpp
Go to the documentation of this file.
1#ifndef DONUT_BASE64_HPP
2#define DONUT_BASE64_HPP
3
4#include <string> // std::string
5#include <string_view> // std::string_view
6
7namespace donut::base64 {
8
20std::string encode(std::string_view data);
21
35std::string decode(std::string_view string);
36
37} // namespace donut::base64
38
39#endif
Definition base64.hpp:7
std::string decode(std::string_view string)
Decode the original data from a Base64 string.
std::string encode(std::string_view data)
Encode arbitrary data into a Base64 string.