Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

WBXML Base64 Functions
[WBXML Library]


Files

file  wbxml_base64.c
 Base64 encoding/decoding functions.

file  wbxml_base64.h
 Base64 encoding/decoding functions.


Functions

WB_UTINY * wbxml_base64_encode (const WB_UTINY *buffer, WB_LONG len)
 Encode a buffer to Base64.

WB_LONG wbxml_base64_decode (const WB_UTINY *buffer, WB_UTINY **result)
 Decode a Base64 encoded buffer.


Function Documentation

WB_LONG wbxml_base64_decode const WB_UTINY *    buffer,
WB_UTINY **    result
 

Decode a Base64 encoded buffer.

Parameters:
buffer The buffer to decode
result Resulting decoded buffer
Returns:
Length of resulting decoded buffer ('0' if no decoded)
Note:
Be aware that if return value is '0', then 'result' param will be NULL, else 'result' param has to be freed by caller.

WB_UTINY* wbxml_base64_encode const WB_UTINY *    buffer,
WB_LONG    len
 

Encode a buffer to Base64.

Parameters:
buffer The buffer to encode
len Buffer length
Returns:
The new base64 encoded Buffer (must be freed by caller), or NULL if not enought memory


Generated on Mon Nov 24 20:09:48 2003 for WBXML Library by doxygen1.3-rc1