Go to the source code of this file.
kaa_error_t kaa_base64_decode |
( |
const char * |
encoded_data, |
|
|
size_t |
encoded_data_length, |
|
|
char * |
decoded_data, |
|
|
size_t * |
decoded_data_length |
|
) |
| |
Decode base64 encoded data.
- Parameters
-
[in] | encoded_data | Pointer to encoded data buffer |
[in] | encoded_data_length | Size of encoded data buffer |
[out] | decoded_data | Pointer to output decoded data buffer |
[in,out] | decoded_data_length | Size of output buffer on [in] and size of decoded data on [out] base64_decode() checks that buffer for decoded data have enough length length ration is 3:4 (decoded/encoded) |
- Returns
- Error code.