A library for working with phylogenetic data.
v0.25.0
base64.cpp File Reference
#include "genesis/utils/io/base64.hpp"
#include "genesis/utils/io/char.hpp"
#include <cassert>
#include <stdexcept>

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::utils
 

Functions

template<class T >
base64_decode_ (std::string const &input)
 
std::string base64_decode_string (std::string const &input)
 
std::vector< std::uint8_t > base64_decode_uint8 (std::string const &input)
 
std::string base64_encode (std::string const &input, size_t line_length)
 
std::string base64_encode (std::vector< std::uint8_t > const &input, size_t line_length)
 
template<class T >
std::string base64_encode_ (T const &input, size_t line_length)
 

Variables

static const char base64_encode_lookup_ []
 
static const char base64_pad_char_ = '='