Rizin
unix-like reverse engineering framework and cli tools
rz_base64.h
Go to the documentation of this file.
1 #ifndef RZ_BASE64_H
2 #define RZ_BASE64_H
3 
4 #include <rz_types.h>
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 RZ_API size_t rz_base64_encode(char *bout, const ut8 *bin, size_t sz);
11 RZ_API int rz_base64_decode(ut8 *bout, const char *bin, int len);
12 RZ_API ut8 *rz_base64_decode_dyn(const char *in, int len);
13 RZ_API char *rz_base64_encode_dyn(const ut8 *bin, size_t sz);
14 #ifdef __cplusplus
15 }
16 #endif
17 
18 #endif // RZ_BASE64_H
size_t len
Definition: 6502dis.c:15
const lzma_allocator const uint8_t * in
Definition: block.h:527
#define RZ_API
uint8_t ut8
Definition: lh5801.h:11
RZ_API size_t rz_base64_encode(char *bout, const ut8 *bin, size_t sz)
Definition: ubase64.c:81
RZ_API char * rz_base64_encode_dyn(const ut8 *bin, size_t sz)
Definition: ubase64.c:92
RZ_API ut8 * rz_base64_decode_dyn(const char *in, int len)
Definition: ubase64.c:65
RZ_API int rz_base64_decode(ut8 *bout, const char *bin, int len)
Definition: ubase64.c:48
Definition: malloc.c:26