25#ifndef TGUI_BASE64_HPP
26#define TGUI_BASE64_HPP
28#include <TGUI/String.hpp>
30#if !TGUI_EXPERIMENTAL_USE_STD_MODULE
37TGUI_MODULE_EXPORT
namespace tgui
47 TGUI_NODISCARD TGUI_API std::string
base64Encode(
const std::uint8_t* data, std::size_t nrBytes);
56 TGUI_NODISCARD TGUI_API std::vector<std::uint8_t>
base64Decode(CharStringView data);
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:38
TGUI_API std::vector< std::uint8_t > base64Decode(CharStringView data)
Decodes a base64 string to binary data.
TGUI_API std::string base64Encode(const std::uint8_t *data, std::size_t nrBytes)
Encodes binary data to a base64 string.