11 #ifndef TLX_STRING_BASE64_HEADER 12 #define TLX_STRING_BASE64_HEADER 37 std::string
base64_encode(
const void* data,
size_t size,
size_t line_break = 0);
49 std::string
base64_encode(
const std::string& str,
size_t line_break = 0);
63 std::string
base64_decode(
const void* data,
size_t size,
bool strict =
true);
76 std::string
base64_decode(
const std::string& str,
bool strict =
true);
83 #endif // !TLX_STRING_BASE64_HEADER 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...
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...