cppgfx  0.1.0
C++17 educational graphics library
base64.hpp
1 
2 #ifndef CPPGFX_BASE64_HPP
3 #define CPPGFX_BASE64_HPP
4 
5 #include <cstdint>
6 #include <string>
7 #include <vector>
8 
9 namespace cppgfx {
10 
11  std::string encode_base64(const std::vector<uint8_t>& data);
12 
13  std::vector<uint8_t> decode_base64(const std::string& str);
14 
15 }
16 
17 #endif //CPPGFX_BASE64_HPP