My Project
Base64 Class Reference

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

#include <OSBase64.h>

Public Member Functions

 Base64 ()
 Base64 class constructor.
 
 ~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)
 decode 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 is possible to save space by eliminating the need for all the <el> tabs by writing a long string of numbers in b64 format

Definition at line 33 of file OSBase64.h.

Constructor & Destructor Documentation

◆ Base64()

Base64::Base64 ( )

Base64 class constructor.

◆ ~Base64()

Base64::~Base64 ( )

Base64 class destructor.

Member Function Documentation

◆ encodeb64()

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

encode the data in base 64

Parameters
bytesis the input to be encoded.
sizeis the size of the pointer in bytes
Returns
a string in base 64 format.

Definition at line 33 of file OSBase64.cpp.

◆ decodeb64()

std::string Base64::decodeb64 ( char * b64bytes)
static

decode the data in base 64

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

Definition at line 87 of file OSBase64.cpp.


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