rsstats 0.0.1
Redis Enterprise Statistic collector
|
Simple Base64 encoding and decoding functions. More...
Go to the source code of this file.
Functions | |
char * | base64_encode (char *plain) |
Encode a zero terminated C string in Base64. More... | |
char * | base64_decode (char *cipher) |
Decode a zero terminated C Base64 encoded string. More... | |
Simple Base64 encoding and decoding functions.
Copied and adapted from https://github.com/elzoughby/Base64
Definition in file base64.h.
char * base64_decode | ( | char * | cipher | ) |
Decode a zero terminated C Base64 encoded string.
cipher | Zero Terminated C Base64 encoded string |
Pointer | to a zero terminated C string |
NULL | in case of out of memory |
cipher can not be NULL. the returned value is mallocated and needs to be freed.
char * base64_encode | ( | char * | plain | ) |
Encode a zero terminated C string in Base64.
plain | Zero Terminated C string |
Pointer | to a zero terminated C string |
NULL | in case of out of memory |
plain can not be NULL. the returned value is mallocated and needs to be freed.
Definition at line 39 of file base64.c.