1 #ifndef CPER_BASE64_H 2 #define CPER_BASE64_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 #include <libcper/BaseTypes.h> 9 10 /** 11 * base64_decode 12 * Caller is responsible for freeing the returned buffer. 13 */ 14 UINT8 *base64_decode(const CHAR8 *src, INT32 len, INT32 *out_len); 15 16 /** 17 * base64_encode 18 * Caller is responsible for freeing the returned buffer. 19 */ 20 CHAR8 *base64_encode(const UINT8 *src, INT32 len, INT32 *out_len); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif 27