The Battle for Wesnoth 1.21.0-dev
 
Loading...
Searching...
No Matches
Functions
base64 Namespace Reference

Functions

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

Function Documentation

◆ decode()

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

Definition at line 219 of file base64.cpp.

References in.

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

◆ encode()

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

Definition at line 223 of file base64.cpp.

Referenced by BOOST_AUTO_TEST_CASE().