Class for Base64.
More...
#include <gdcmBase64.h>
|
static size_t | Decode (char *dst, size_t dlen, const char *src, size_t slen) |
| Decode a base64-formatted buffer. More...
|
|
static size_t | Encode (char *dst, size_t dlen, const char *src, size_t slen) |
| Encode a buffer into base64 format. More...
|
|
static size_t | GetDecodeLength (const char *src, size_t len) |
|
static size_t | GetEncodeLength (const char *src, size_t srclen) |
|
static size_t gdcm::Base64::Decode |
( |
char * |
dst, |
|
|
size_t |
dlen, |
|
|
const char * |
src, |
|
|
size_t |
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 not successful, size of decoded otherwise
- Examples:
- DumpExamCard.cxx.
static size_t gdcm::Base64::Encode |
( |
char * |
dst, |
|
|
size_t |
dlen, |
|
|
const char * |
src, |
|
|
size_t |
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 not successful, size of encoded otherwise
static size_t gdcm::Base64::GetDecodeLength |
( |
const char * |
src, |
|
|
size_t |
len |
|
) |
| |
|
static |
Call this function to obtain the required buffer size
- Examples:
- DumpExamCard.cxx.
static size_t gdcm::Base64::GetEncodeLength |
( |
const char * |
src, |
|
|
size_t |
srclen |
|
) |
| |
|
static |
Call this function to obtain the required buffer size
The documentation for this class was generated from the following file: