BASE64_ENCODER Class Reference

#include <mi32/base64.h>

List of all members.

Public Member Functions

 BASE64_ENCODER ()
virtual ~BASE64_ENCODER ()
ERRVALUE Encode (const UINT8 *buffer, int NumBytes)
ERRVALUE Encode (GENERICRW &stream)
ERRVALUE Encode (const FILEPATH &filepath)

Private Member Functions

virtual ERRVALUE v_ShowStatus (double PercentDone)
virtual ERRVALUE v_Write (const char *buffer)=0

Constructor & Destructor Documentation

BASE64_ENCODER::BASE64_ENCODER (  ) 
virtual BASE64_ENCODER::~BASE64_ENCODER (  )  [virtual]

Member Function Documentation

ERRVALUE BASE64_ENCODER::Encode ( const UINT8 buffer,
int  NumBytes 
)

Encode byte stream.

Can be called multiple times if the input to be encoded is being read in chunks.

ERRVALUE BASE64_ENCODER::Encode ( GENERICRW stream  ) 

Reads the file in chunks and calls the buffer version of the method.

ERRVALUE BASE64_ENCODER::Encode ( const FILEPATH filepath  ) 

Encode a file.

Just opens the file and calles the GENERICRW version of the method.

virtual ERRVALUE BASE64_ENCODER::v_ShowStatus ( double  PercentDone  )  [private, virtual]
virtual ERRVALUE BASE64_ENCODER::v_Write ( const char *  buffer  )  [private, pure virtual]

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

Generated on Sun Oct 7 21:33:13 2012 for TNTsdk 2012 by  doxygen 1.6.1