0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | List of all members
Hypertable::Base64 Class Reference

Provides base64 encoding and decoding functions. More...

#include <Base64.h>

Static Public Member Functions

static const string encode (const string &message, bool newlines=false)
 Encodes message in base64. More...
 
static const string decode (const string &message, bool newlines=false)
 Decodes base64 message. More...
 

Detailed Description

Provides base64 encoding and decoding functions.

Definition at line 38 of file Base64.h.

Member Function Documentation

const string Base64::decode ( const string &  message,
bool  newlines = false 
)
static

Decodes base64 message.

Parameters
messageMessage (in base64) to decode.
newlinesMessage was encoded with newlines
Returns
Decoded message

Definition at line 92 of file Base64.cc.

const string Base64::encode ( const string &  message,
bool  newlines = false 
)
static

Encodes message in base64.

Parameters
messageMessage to encode
newlinesInsert newlines after every 64 characters
Returns
Message encoded in base64

Definition at line 66 of file Base64.cc.


The documentation for this class was generated from the following files: