RDK Documentation (Open Sourced RDK Components)
|
base64 source Encoder/Decoder More...
#include <stddef.h>
Go to the source code of this file.
Functions | |
char * | base64_Encode (const unsigned char *src, size_t len) |
convert blob of binary data to ascii base64-encoded equivalent More... | |
unsigned char * | base64_Decode (const char *src, size_t *len) |
decode base64 encoded data to binary equivalent More... | |
unsigned char * | base64_Decode (const char *src, size_t *len, size_t srcLen) |
decode base64 encoded data to binary equivalent More... | |
base64 source Encoder/Decoder
Definition in file _base64.h.
char* base64_Encode | ( | const unsigned char * | src, |
size_t | len | ||
) |
convert blob of binary data to ascii base64-encoded equivalent
pointer | to malloc'd cstring containing base64 encoded version of string |
NULL | if insufficient memory to allocate base64-encoded copy |
Definition at line 37 of file _base64.cpp.
unsigned char* base64_Decode | ( | const char * | src, |
size_t * | len | ||
) |
decode base64 encoded data to binary equivalent
pointer | to malloc'd memory containing decoded binary data |
NULL | if insufficient memory to allocate base64-decoded data |
Definition at line 172 of file _base64.cpp.
unsigned char* base64_Decode | ( | const char * | src, |
size_t * | len, | ||
size_t | srcLen | ||
) |
decode base64 encoded data to binary equivalent
return | value from base64_Decode value |
Definition at line 91 of file _base64.cpp.