40 class Base64Decoder_Impl;
66 void feed(
const void *data,
int size,
bool append_result =
true);
89 std::shared_ptr<Base64Decoder_Impl> impl;
General purpose data buffer.
Definition: databuffer.h:43
void feed(const void *data, int size, bool append_result=true)
Feeds the decoder with base64 encoded data.
static DataBuffer decode(const DataBuffer &data)
Decode.
static DataBuffer decode(const void *data, int size)
Decode base64 data and return it in a buffer.
static DataBuffer decode(const std::string &data)
Decode.
Base64 decoder class.
Definition: base64_decoder.h:44
void reset()
Resets the decoder.
Base64Decoder()
Constructs a base64 decoder.
DataBuffer & get_result()
Returns the decoded data.