The Battle for Wesnoth  1.17.0-dev
Functions
base64 Namespace Reference

Functions

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

Function Documentation

◆ decode()

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

Definition at line 216 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 220 of file base64.cpp.

Referenced by BOOST_AUTO_TEST_CASE().