Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
Base64 encoding/decoding functions More...
Functions | |
int | base64_encode (uint8_t *dst, size_t dlen, size_t *olen, const uint8_t *src, size_t slen) |
Encode a buffer into base64 format. | |
int | base64_decode (uint8_t *dst, size_t dlen, size_t *olen, const uint8_t *src, size_t slen) |
Decode a base64-formatted buffer. | |
Base64 encoding/decoding functions
#include <zephyr/sys/base64.h>
Decode a base64-formatted buffer.
dst | destination buffer (can be NULL for checking size) |
dlen | size of the destination buffer |
olen | number of bytes written |
src | source buffer |
slen | amount of data to be decoded |
#include <zephyr/sys/base64.h>
Encode a buffer into base64 format.
dst | destination buffer |
dlen | size of the destination buffer |
olen | number of bytes written |
src | source buffer |
slen | amount of data to be encoded |