CL_Base64Decoder Class Reference
[clanCore Math]

Base64 decoder class. More...

#include <base64_decoder.h>

List of all members.

Public Member Functions

Construction

 CL_Base64Decoder ()
 Constructs a base64 decoder.
Attributes

CL_DataBufferget_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.

Detailed Description

Base64 decoder class.


Constructor & Destructor Documentation

CL_Base64Decoder::CL_Base64Decoder (  ) 

Constructs a base64 decoder.


Member Function Documentation

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.

Parameters:
data = String Ref8
Returns:
Data Buffer
static CL_DataBuffer CL_Base64Decoder::decode ( const CL_DataBuffer data  )  [static]

Decode.

Parameters:
data = Data Buffer
Returns:
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.


The documentation for this class was generated from the following file: