Provides base64 encoding and decoding functions.
More...
#include <Base64.h>
|
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...
|
|
Provides base64 encoding and decoding functions.
Definition at line 38 of file Base64.h.
const string Base64::decode |
( |
const string & |
message, |
|
|
bool |
newlines = false |
|
) |
| |
|
static |
Decodes base64 message.
- Parameters
-
message | Message (in base64) to decode. |
newlines | Message 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
-
message | Message to encode |
newlines | Insert 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:
- /home/doug/src/hypertable/src/cc/Common/Base64.h
- /home/doug/src/hypertable/src/cc/Common/Base64.cc