29#include <sptk5/Buffer.h>
30#include <sptk5/Exception.h>
31#include <sptk5/sptk.h>
57 static void encode(
Buffer& bufDest,
const uint8_t* bufSource,
size_t len);
Base64 encoding/decoding.
Definition: Base64.h:48
static void encode(String &strDest, const Buffer &bufSource)
Data encoding. Encodes data (base64) in given buffer bufSource and returns result in std::string.
static size_t decode(Buffer &bufDest, const Buffer &bufSource)
Data decoding. Decodes base64 encoded buffer bufSource into buffer bufDest. Throws CException in case...
static void encode(Buffer &bufDest, const Buffer &bufSource)
Data encoding. Encodes data (base64) in given buffer bufSource to destination buffer bufDest.
static size_t decode(Buffer &bufDest, const String &strSource)
Data decoding. Decodes base64 encoded string strSource into buffer bufDest. Throws CException in case...
static void encode(Buffer &bufDest, const uint8_t *bufSource, size_t len)
Data encoding. Encodes data (base64) in given buffer bufSource to destination buffer bufDest.