Teonet library
0.4.7
|
#include <stdint.h>
#include <stdlib.h>
Functions | |
void | build_decoding_table () |
void | base64_cleanup () |
char * | ksn_base64_encode (const unsigned char *data, size_t input_length, size_t *output_length) |
Base64 encode. More... | |
unsigned char * | ksn_base64_decode (const char *data, size_t input_length, size_t *output_length) |
Base64decode. More... | |
Created on March 7, 2016, 4:40 AM
void base64_cleanup | ( | ) |
References free().
void build_decoding_table | ( | ) |
References malloc().
Referenced by ksn_base64_decode().
unsigned char* ksn_base64_decode | ( | const char * | data, |
size_t | input_length, | ||
size_t * | output_length | ||
) |
Base64decode.
data | Input encoded data |
input_length | Input data length |
output_length | Output data length |
References build_decoding_table(), and malloc().
char* ksn_base64_encode | ( | const unsigned char * | data, |
size_t | input_length, | ||
size_t * | output_length | ||
) |
Base64 encode.
[in] | data | Input data |
[in] | input_length | Input data length |
[out] | output_length | Output data length |
References malloc().