11#ifndef TLX_STRING_BASE64_HEADER
12#define TLX_STRING_BASE64_HEADER
37std::string
base64_encode(
const void* data,
size_t size,
size_t line_break = 0);
49std::string
base64_encode(
const std::string& str,
size_t line_break = 0);
63std::string
base64_decode(
const void* data,
size_t size,
bool strict =
true);
76std::string
base64_decode(
const std::string& str,
bool strict =
true);
std::string base64_encode(const void *data, size_t size, size_t line_break)
Encode the given binary data into base64 representation as described in RFC 2045 or RFC 3548.
std::string base64_decode(const void *data, size_t size, bool strict)
Decode a string in base64 representation as described in RFC 2045 or RFC 3548 and return the original...