Class for Base64.
More...
#include <gdcmBase64.h>
List of all members.
Public Member Functions |
| | Base64 () |
| | ~Base64 () |
Static Public Member Functions |
| static int | Decode (char *dst, int dlen, const char *src, int slen) |
| | Decode a base64-formatted buffer.
|
| static int | Encode (char *dst, int dlen, const char *src, int slen) |
| | Encode a buffer into base64 format.
|
| static int | GetDecodeLength (const char *src, int slen) |
| static int | GetEncodeLength (const char *src, int slen) |
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Decode a base64-formatted buffer.
- Parameters:
-
| dst | destination buffer |
| dlen | size of the buffer |
| src | source buffer |
| slen | amount of data to be decoded |
- Returns:
- 0 if successful
Encode a buffer into base64 format.
- Parameters:
-
| dst | destination buffer |
| dlen | size of the buffer |
| src | source buffer |
| slen | amount of data to be encoded |
- Returns:
- 0 if successful
Call this function with *dlen = 0 to obtain the required buffer size in *dlen
Call this function with dlen = 0 to obtain the required buffer size in dlen
The documentation for this class was generated from the following file: