The Battle for Wesnoth  1.15.1+dev
Functions
base64 Namespace Reference

Functions

std::vector< uint8_t > decode (utils::string_view in)
 
std::string encode (utils::byte_string_view bytes)
 

Function Documentation

◆ decode()

std::vector< uint8_t > base64::decode ( utils::string_view  in)

Definition at line 215 of file base64.cpp.

Referenced by BOOST_AUTO_TEST_CASE(), and image::load_image_data_uri().

◆ encode()

std::string base64::encode ( utils::byte_string_view  bytes)

Definition at line 219 of file base64.cpp.

Referenced by BOOST_AUTO_TEST_CASE(), and user_handler::create_secure_nonce().