Base64

struct Base64

Public Static Functions

static inline constexpr size_t get_padded_length(size_t raw_length)
static inline constexpr size_t get_max_binary_length(size_t base64_length)
template<typename T>
static inline std::span<char> encode(T &buffer, std::span<std::byte const> const &data, bool web_safe, bool no_padding)
template<typename T>
static inline std::span<std::byte> decode(std::span<std::byte> const &buffer, T const &data, bool web_safe, bool no_padding)
template<typename T>
static inline bool is_valid(T const &data, bool web_safe)