Static Public Member Functions | List of all members
Celartem::Base64T< Base64Traits > Struct Template Reference

#include <cel_base64.h>

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 

Decode the input string into binary.

bufferA buffer to receive the binary.
srcA Base64 string to decode.
template<typename Base64Traits >
static String Celartem::Base64T< Base64Traits >::encode ( const u8 *CEL_RESTRICT  src,
size_t  size 

Encode the input binary into Base64 string.

srcA binary to encode.
sizeThe size of the binary in bytes.
The result string.

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

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:06.
Cuminas Logo