Base64 Class Reference

use this class to read and write data in base64. More...

#include <OSBase64.h>

List of all members.

Public Member Functions

 Base64 ()
 Base64 class constructior.
 ~Base64 ()
 Base64 class destructor.

Static Public Member Functions

static std::string encodeb64 (char *bytes, int size)
 encode the data in base 64
static std::string decodeb64 (char *b64bytes)
 dencode the data in base 64

Detailed Description

use this class to read and write data in base64.

Author:
Robert Fourer, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
it possible to save memory by eliminating the need for all the <el> tabs by writing a long string of numbers in b64 format

Definition at line 34 of file OSBase64.h.


Constructor & Destructor Documentation

Base64::Base64 (  ) 

Base64 class constructior.

Base64::~Base64 (  ) 

Base64 class destructor.


Member Function Documentation

static std::string Base64::encodeb64 ( char *  bytes,
int  size 
) [static]

encode the data in base 64

Parameters:
bytes is the input to be encoded.
size is the size of the pointer in bytes
Returns:
a string in base 64 format.
static std::string Base64::decodeb64 ( char *  b64bytes  )  [static]

dencode the data in base 64

Parameters:
b64bytes is the input to be decoded
Returns:
a string that is decoded.

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

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1