StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
Loading...
Searching...
No Matches
Namespaces | Functions
base64.hxx File Reference
#include <StormByte/visibility.h>
#include <cstddef>
#include <span>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for base64.hxx:

Go to the source code of this file.

Namespaces

namespace  StormByte
 Root namespace of the StormByte suite.
 

Functions

std::vector< std::byte > StormByte::Base64Decode (std::string_view input)
 Decodes Base64 text into bytes.
 
std::string StormByte::Base64Encode (const std::vector< std::byte > &input)
 Encodes bytes as Base64 with = padding.
 
std::string StormByte::Base64Encode (std::span< const std::byte > input)
 Encodes a contiguous byte span as Base64 with = padding.