#include <stddef.h>
Go to the source code of this file.
#define DAP_ENC_BASE64_ENCODE_SIZE |
( |
|
in_size | ) |
(((4 * (size_t)in_size / 3) + 3) & ~3) |
Enumerator |
---|
DAP_ENC_STANDARD_B64 |
|
DAP_ENC_STANDARD_B64_URLSAFE |
|
dap_enc_base64_decode Function of reverse transformation of base64 algorithm
- Parameters
-
[in] | in | Pointer to an array with incoming data |
[in] | in_size | Size of the array with outgoing data |
[out] | out | Pointer to an array with outgoing data |
- Returns
- Size of the array with outgoing data
size_t dap_enc_base64_encode |
( |
const void * |
a_in, |
|
|
size_t |
a_in_size, |
|
|
char * |
a_out, |
|
|
dap_enc_b64_standard_t |
standard |
|
) |
| |
dap_enc_base64_encode The function encodes the array according to the base64 algorithm
- Parameters
-
[in] | a_in | Array with incoming data |
[in] | a_in_size | The size of the deviance array in the a_in parameter |
[out] | a_out | A pointer to an array in which the data will be after encoding |
- Returns
- Size of the array with outgoing data