RDK Documentation (Open Sourced RDK Components)
|
optimized pair of base16 encode/decode implementations More...
#include "_base64.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "AampUtils.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 pair of base16 encode/decode implementations
Definition in file base16.cpp.
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.