Class for Base64.
More...
#include <gdcmBase64.h>
|
static int | Decode (char *dst, int dlen, const char *src, int slen) |
| Decode a base64-formatted buffer. More...
|
|
static int | Encode (char *dst, int dlen, const char *src, int slen) |
| Encode a buffer into base64 format. More...
|
|
static int | GetDecodeLength (const char *src, int slen) |
|
static int | GetEncodeLength (const char *src, int slen) |
|
gdcm::Base64::~Base64 |
( |
| ) |
|
static int gdcm::Base64::Decode |
( |
char * |
dst, |
|
|
int |
dlen, |
|
|
const char * |
src, |
|
|
int |
slen |
|
) |
| |
|
static |
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
static int gdcm::Base64::Encode |
( |
char * |
dst, |
|
|
int |
dlen, |
|
|
const char * |
src, |
|
|
int |
slen |
|
) |
| |
|
static |
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
static int gdcm::Base64::GetDecodeLength |
( |
const char * |
src, |
|
|
int |
slen |
|
) |
| |
|
static |
Call this function with *dlen = 0 to obtain the required buffer size in *dlen
static int gdcm::Base64::GetEncodeLength |
( |
const char * |
src, |
|
|
int |
slen |
|
) |
| |
|
static |
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: