![]() |
AnCH Framework
0.1
Another C++ Hack Framework
|
Base64 algorithm implementation. More...
#include <base64.hpp>
Public Member Functions | |
virtual | ~Base64 () |
Static Public Member Functions | |
template<class CharT , class Traits > | |
static void | encode (std::basic_istream< CharT, Traits > &data, std::basic_ostream< CharT, Traits > &output) noexcept |
template<class CharT , class Traits > | |
static std::string | encode (std::basic_istream< CharT, Traits > &data) noexcept |
template<class CharT , class Traits , class Allocator > | |
static void | encode (const std::basic_string< CharT, Traits, Allocator > &data, std::basic_ostream< CharT, Traits > &output) noexcept |
template<class CharT , class Traits , class Allocator > | |
static std::string | encode (const std::basic_string< CharT, Traits, Allocator > &data) noexcept |
template<class CharT , class Traits > | |
static void | encode (const uint8_t *data, uint64_t length, std::basic_ostream< CharT, Traits > &output) noexcept |
static std::string | encode (const uint8_t *data, uint64_t length) noexcept |
template<class CharT , class Traits > | |
static void | decode (std::istream &data, std::basic_ostream< CharT, Traits > &output) noexcept |
static std::string | decode (std::istream &data) noexcept |
template<class CharT , class Traits > | |
static void | decode (const std::string &data, std::basic_ostream< CharT, Traits > &output) noexcept |
static std::string | decode (const std::string &data) noexcept |
template<class CharT , class Traits > | |
static void | decode (const char *data, uint64_t length, std::basic_ostream< CharT, Traits > &output) noexcept |
static std::string | decode (const char *data, uint64_t length) noexcept |
Base64 algorithm implementation.
Base64 is a common algorithm to encode binary data into text.
|
virtual |
Base64 destructor
|
inlinestaticnoexcept |
Decode data in base64.
data | the data stream to decode |
output | the stream to write in |
|
inlinestaticnoexcept |
Decode data in base64.
data | the data stream to decode |
|
inlinestaticnoexcept |
Decode data in base64.
data | the data string to decode |
output | the stream to write in |
|
inlinestaticnoexcept |
Decode data in base64.
data | the data string to decode |
|
inlinestaticnoexcept |
Decode data in base64.
data | the data bytes to decode |
length | the data length |
output | the stream to write in |
|
inlinestaticnoexcept |
Decode data in base64.
data | the data bytes to decode |
length | the data length |
|
inlinestaticnoexcept |
Encode data in base64.
data | the data stream to encode |
output | the stream to write in |
|
inlinestaticnoexcept |
Encode data in base64.
data | the data stream to encode |
|
inlinestaticnoexcept |
Encode data in base64.
data | the data string to encode |
output | the stream to write in |
|
inlinestaticnoexcept |
Encode data in base64.
data | the data string to encode |
|
inlinestaticnoexcept |
Encode data in base64.
data | the data bytes to encode |
length | the data length |
output | the stream to write in |
|
inlinestaticnoexcept |
Encode data in base64.
data | the data bytes to encode |
length | the data length |