#include <mi32/base64.h>
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 |
| BASE64_ENCODER::BASE64_ENCODER | ( | ) |
| virtual BASE64_ENCODER::~BASE64_ENCODER | ( | ) | [virtual] |
Encode byte stream.
Can be called multiple times if the input to be encoded is being read in chunks.
Reads the file in chunks and calls the buffer version of the method.
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] |
1.6.1