Electroneum
Classes | Functions
crow::utility Namespace Reference

Classes

struct  function_traits
 
struct  function_traits< R(ClassType::*)(Args...) const >
 
struct  function_traits< R(ClassType::*)(Args...)>
 
struct  function_traits< std::function< R(Args...)> >
 

Functions

template<class T , class... Args>
Tget_element_by_type (std::tuple< Args... > &t)
 
std::string base64encode (const char *data, size_t size, const char *key="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")
 
std::string base64encode_urlsafe (const char *data, size_t size)
 

Function Documentation

◆ base64encode()

std::string crow::utility::base64encode ( const char *  data,
size_t  size,
const char *  key = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" 
)

◆ base64encode_urlsafe()

std::string crow::utility::base64encode_urlsafe ( const char *  data,
size_t  size 
)

◆ get_element_by_type()

template<class T , class... Args>
T& crow::utility::get_element_by_type ( std::tuple< Args... > &  t)