Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

base64.cc File Reference

#include "base64.h"
#include <string.h>

Go to the source code of this file.

Functions

char * base64_encode (const char *str, int length)
char ofs (char p)
char * base64_decode (char *str, int length)

Variables

char * alphabet


Function Documentation

char* base64_decode char *    str,
int    length
 

Decode Base64 encoded str

Definition at line 88 of file base64.cc.

References ofs().

char* base64_encode const char *    str,
int    length
 

Base 64 encode str

Definition at line 22 of file base64.cc.

References alphabet.

char ofs char    p [inline, static]
 

Definition at line 81 of file base64.cc.

References alphabet.

Referenced by base64_decode().


Variable Documentation

char* alphabet [static]
 

Initial value:

 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
                         "0123456789+/="

Definition at line 19 of file base64.cc.

Referenced by base64_encode(), and ofs().


Generated on Fri Apr 5 15:16:53 2002 for WvStreams by doxygen1.2.15