The Battle for Wesnoth  1.19.7+dev
Namespaces | Typedefs | Functions
base64.hpp File Reference
#include <cstdint>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for base64.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 utils
 
 base64
 
 crypt64
 

Typedefs

using utils::byte_string_view = std::basic_string_view< uint8_t >
 

Functions

std::vector< uint8_t > base64::decode (std::string_view in)
 
std::string base64::encode (utils::byte_string_view bytes)
 
std::vector< uint8_t > crypt64::decode (std::string_view in)
 
std::string crypt64::encode (utils::byte_string_view bytes)
 
int crypt64::decode (char encoded_char)
 
char crypt64::encode (int value)