40        class Base64Encoder_Impl;
 
   56                void feed(
const void *data, 
int size, 
bool append_result = 
true);
 
   62                static std::string 
encode(
const void *data, 
int size);
 
   69                static std::string 
encode(
const std::string &data);
 
   79                std::shared_ptr<Base64Encoder_Impl> impl;
 
 
Base64 encoder class.
Definition base64_encoder.h:44
static std::string encode(const void *data, int size)
Base64 encodes data and returns it as an 8 bit string.
void reset()
Resets the encoder.
DataBuffer & get_result()
Returns the data in encoded form.
static std::string encode(const DataBuffer &data)
Encode.
void finalize(bool append_result=true)
Ends the base64 encoding.
void feed(const void *data, int size, bool append_result=true)
Feeds the encoder with more data.
static std::string encode(const std::string &data)
Encode.
Base64Encoder()
Constructs a base64 encoder.
General purpose data buffer.
Definition databuffer.h:42