Coconut Framework  beta
CNBase64.h
Go to the documentation of this file.
1 
10 #ifndef CNBASE64_H
11 #define CNBASE64_H
12 
13 #include "CNBuffer.h"
14 #include "CNForwarders.h"
15 #include <string.h>
16 
27 struct CNBuffer
28 CNEncodeDataToBase64(size_t size, const void * data) ;
29 
41 struct CNBuffer
42 CNDecodeDataFromBase64(size_t len, const void * data) ;
43 
44 #endif /* CNBASE64_H */
45 
46 
Write buffer to store variable-sized continuous data.
Definition: CNBuffer.h:17
Forward declaration of data types.
Define CNBuffer data structure.
struct CNBuffer CNDecodeDataFromBase64(size_t len, const void *data)
Decode base64 string into data.
struct CNBuffer CNEncodeDataToBase64(size_t size, const void *data)
Encode binary data into base64.