Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
base64.cpp File Reference
#include <xstream/config.h>
#include <xstream/base64.h>
#include <xstream/except/base64.h>
#include "debug.h"

Go to the source code of this file.

Namespaces

 xstream
 Library top namespace.
 
 xstream::base64
 base64 encoding/decoding objects
 

Functions

static void xstream::base64::encode (const char *in, char *out)
 
static char xstream::base64::index (char c)
 
static void xstream::base64::decode (const char *in, char *out)
 

Variables

static const char xstream::base64::dictionary [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
 
static const int xstream::base64::eof = std::streambuf::traits_type::eof()