Firmware SDK
|
BASE64. More...
Functions | |
bool | twr_base64_encode (char *output, size_t *output_length, uint8_t *input, size_t input_length) |
BASE64 encode. More... | |
bool | twr_base64_decode (uint8_t *output, size_t *output_length, char *input, size_t input_length) |
BASE64 decode. More... | |
size_t | twr_base64_calculate_encode_length (size_t length) |
BASE64 Calculate encode length. More... | |
size_t | twr_base64_calculate_decode_length (char *input, size_t length) |
BASE64 Calculate decode length. More... | |
BASE64.
size_t twr_base64_calculate_decode_length | ( | char * | input, |
size_t | length | ||
) |
BASE64 Calculate decode length.
[in] | input | Pointer to source buffer |
[in] | length | Number of bytes |
Definition at line 154 of file twr_base64.c.
size_t twr_base64_calculate_encode_length | ( | size_t | length | ) |
BASE64 Calculate encode length.
[in] | length | Number of bytes |
Definition at line 148 of file twr_base64.c.
bool twr_base64_decode | ( | uint8_t * | output, |
size_t * | output_length, | ||
char * | input, | ||
size_t | input_length | ||
) |
BASE64 decode.
[out] | output | Pointer to destination buffer |
[in,out] | output_length | Size of destination buffer, Number of used bytes |
[in] | input | Pointer to source buffer |
[in] | input_length | Number of bytes |
Definition at line 76 of file twr_base64.c.
bool twr_base64_encode | ( | char * | output, |
size_t * | output_length, | ||
uint8_t * | input, | ||
size_t | input_length | ||
) |
BASE64 encode.
[out] | output | Pointer to destination buffer |
[in,out] | output_length | Size of destination buffer, Number of used bytes |
[in] | input | Pointer to source buffer |
[in] | input_length | Number of bytes |
Definition at line 7 of file twr_base64.c.