client-c
0.8.1
|
#include "../kaa_error.h"
Go to the source code of this file.
Functions | |
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. More... | |
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.
Copyright 2014-2016 CyberVision, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
[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) |