Static Public Member Functions

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.


Member Function Documentation

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

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

This document is made with doxygen 1.7.1 at Sun Sep 5 2010 13:03:37.
Caminova Logo