Firmware SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
bc_base64.h
1 #ifndef _BC_BASE64_H
2 #define _BC_BASE64_H
3 
4 #include "bc_common.h"
5 
9 
17 
18 bool bc_base64_encode(char *output, size_t *output_length, uint8_t *input, size_t input_length);
19 
27 
28 bool bc_base64_decode(uint8_t *output, size_t *output_length, char *input, size_t input_length);
29 
32 
33 size_t bc_base64_calculate_encode_length(size_t length);
34 
38 
39 size_t bc_base64_calculate_decode_length(char *input, size_t length);
40 
42 
43 #endif // _BC_BASE64_H
bool bc_base64_encode(char *output, size_t *output_length, uint8_t *input, size_t input_length)
BASE64 encode.
Definition: bc_base64.c:7
bool bc_base64_decode(uint8_t *output, size_t *output_length, char *input, size_t input_length)
BASE64 decode.
Definition: bc_base64.c:76
size_t bc_base64_calculate_decode_length(char *input, size_t length)
BASE64 Calculate decode length.
Definition: bc_base64.c:154
size_t bc_base64_calculate_encode_length(size_t length)
BASE64 Calculate encode length.
Definition: bc_base64.c:148