StormByte 2.0.0
C++26 foundation of the StormByte suite
 
Loading...
Searching...
No Matches
base64.hxx File Reference
#include <StormByte/binary_data.hxx>
#include <StormByte/safe/string.hxx>
#include <StormByte/visibility.h>
#include <cstddef>
#include <span>
#include <string_view>
Include dependency graph for base64.hxx:

Go to the source code of this file.

Namespaces

namespace  StormByte
 Root namespace of the StormByte suite.
 

Functions

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