SASC
DVBSoftCAM

cBase64Encoder Class Reference

#include <tools.h>

List of all members.

Public Member Functions

 cBase64Encoder (const uchar *Data, int Length, int MaxResult=64)
 ~cBase64Encoder ()
const char * NextLine (void)

Detailed Description

Definition at line 215 of file tools.h.


Constructor & Destructor Documentation

cBase64Encoder::cBase64Encoder ( const uchar *  Data,
int  Length,
int  MaxResult = 64 
)

Sets up a new base 64 encoder for the given Data, with the given Length. Data will not be copied and must be valid as long as NextLine() will be called. MaxResult defines the maximum number of characters in any result line. The resulting lines may be shorter than MaxResult in case its value is not a multiple of 4.

cBase64Encoder::~cBase64Encoder ( )

Member Function Documentation

const char* cBase64Encoder::NextLine ( void  )

Returns the next line of encoded data (terminated by '\0'), or NULL if there is no more encoded data. The caller must call NextLine() and process each returned line until NULL is returned, in order to get the entire data encoded. The returned data is only valid until the next time NextLine() is called, or until the object is destroyed.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines