Celartem::Base64T< Base64Traits > Struct Template Reference

#include <cel_base64.h>

List of all members.

Static Public Member Functions

static String encode (const u8 *CEL_RESTRICT src, size_t size)
static void decode (SimpleArray< u8 > &buffer, const String &src)


Detailed Description

template<typename Base64Traits>
struct Celartem::Base64T< Base64Traits >

Base64T defines Base64 encode/decode routines. For normal usage, use Base64 class.

Definition at line 20 of file cel_base64.h.


Member Function Documentation

template<typename Base64Traits>
static String Celartem::Base64T< Base64Traits >::encode ( const u8 *CEL_RESTRICT  src,
size_t  size 
) [inline, static]

Encode the input binary into Base64 string.

Parameters:
src A binary to encode.
size The size of the binary in bytes.
Returns:
The result string.

Definition at line 31 of file cel_base64.h.

template<typename Base64Traits>
static void Celartem::Base64T< Base64Traits >::decode ( SimpleArray< u8 > &  buffer,
const String src 
) [inline, static]

Decode the input string into binary.

Parameters:
buffer A buffer to receive the binary.
src A Base64 string to decode.

Definition at line 60 of file cel_base64.h.


The documentation for this struct was generated from the following file:
This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:23:13 2008.