Base64 decoder class. More...
#include <base64_decoder.h>
Public Member Functions | |
Construction | |
CL_Base64Decoder () | |
Constructs a base64 decoder. | |
Attributes | |
CL_DataBuffer & | get_result () |
Returns the decoded data. | |
Operations | |
| |
void | reset () |
Resets the decoder. | |
void | feed (const void *data, int size, bool append_result=true) |
Feeds the decoder with base64 encoded data. | |
static CL_DataBuffer | decode (const void *data, int size) |
Decode base64 data and return it in a buffer. | |
static CL_DataBuffer | decode (const CL_StringRef8 &data) |
Decode. | |
static CL_DataBuffer | decode (const CL_DataBuffer &data) |
Decode. |
Base64 decoder class.
CL_Base64Decoder::CL_Base64Decoder | ( | ) |
Constructs a base64 decoder.
static CL_DataBuffer CL_Base64Decoder::decode | ( | const void * | data, | |
int | size | |||
) | [static] |
Decode base64 data and return it in a buffer.
static CL_DataBuffer CL_Base64Decoder::decode | ( | const CL_StringRef8 & | data | ) | [static] |
Decode.
data | = String Ref8 |
static CL_DataBuffer CL_Base64Decoder::decode | ( | const CL_DataBuffer & | data | ) | [static] |
Decode.
data | = Data Buffer |
void CL_Base64Decoder::feed | ( | const void * | data, | |
int | size, | |||
bool | append_result = true | |||
) |
Feeds the decoder with base64 encoded data.
CL_DataBuffer& CL_Base64Decoder::get_result | ( | ) |
Returns the decoded data.
void CL_Base64Decoder::reset | ( | ) |
Resets the decoder.