| Ximian Connector for Microsoft Exchange Programmer’s Reference Manual | ||||
|---|---|---|---|---|
char* e2k_base64_encode (const guint8 *data, int len); GByteArray* e2k_base64_decode (const char *string);
char* e2k_base64_encode (const guint8 *data, int len);
Base64-encodes len bytes of data at data.
data : |
binary data |
len : |
the length of data
|
| Returns : | the base64-encoded representation of data, which
the caller must free.
|
GByteArray* e2k_base64_decode (const char *string);
Decodes the base64-encoded data in string.
string : |
base64-encoded data |
| Returns : | the binary data encoded in string
|