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