RDK Documentation (Open Sourced RDK Components)
|
optimized way way base16 Encode/Decode operation More...
#include <stddef.h>
Go to the source code of this file.
Functions | |
char * | base16_Encode (const unsigned char *src, size_t len) |
convert binary data to hascii-encoded equivalent More... | |
unsigned char * | base16_Decode (const char *srcPtr, size_t srcLen, size_t *len) |
decode base16 encoded data to binary equivalent More... | |
optimized way way base16 Encode/Decode operation
Definition in file base16.h.
char* base16_Encode | ( | const unsigned char * | src, |
size_t | len | ||
) |
convert binary data to hascii-encoded equivalent
pointer | to malloc'd cstring containing base16-encoded copy |
NULL | if unsufficient memory to allocate base16-encoded copt |
Definition at line 39 of file base16.cpp.
unsigned char* base16_Decode | ( | const char * | srcPtr, |
size_t | srcLen, | ||
size_t * | len | ||
) |
decode base16 encoded data to binary equivalent
pointer | to malloc'd memory containing decoded binary data. |
NULL | if insufficient memory to allocate base16-decoded data |
Definition at line 64 of file base16.cpp.