1 #ifndef R_BASE64_H 2 #define R_BASE64_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 R_API int r_base64_encode(char *bout, const ut8 *bin, int len); 9 R_API int r_base64_decode(ut8 *bout, const char *bin, int len); 10 R_API ut8 *r_base64_decode_dyn(const char *in, int len); 11 R_API char *r_base64_encode_dyn(const char *str, int len); 12 #ifdef __cplusplus 13 } 14 #endif 15 16 #endif // R_BASE64_H 17