|
M5Utility 0.0.9 git rev:d29fae5
|
base64 encoding More...
#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | m5 |
| Top level namespace of M5. | |
Functions | |
| uint32_t | m5::utility::encode_base64 (char *out, const uint32_t olen, const uint8_t *buf, const uint32_t blen, const uint8_t line_len, const bool urlEncode, const bool padding) |
| encode Base64 | |
| bool | m5::utility::encodeBase64 (char *out, const uint32_t olen, const uint8_t *buf, const uint32_t blen) |
| Encode Base64(PEM) | |
| bool | m5::utility::encodeBase64URL (char *out, const uint32_t olen, const uint8_t *buf, const uint32_t blen) |
| Encode Base64URL. | |
base64 encoding
| uint32_t m5::utility::encode_base64 | ( | char * | out, |
| const uint32_t | olen, | ||
| const uint8_t * | buf, | ||
| const uint32_t | blen, | ||
| const uint8_t | line_len, | ||
| const bool | urlEncode, | ||
| const bool | padding ) |
encode Base64
| [out] | out | Output buffer |
| olen | Output buffer length | |
| buf | Input buffer | |
| blen | Input buffer length | |
| line_len | ==0 No line breaks ! =0: Line break at that number of characters | |
| urlEncode | base64url encoding if true | |
| padding | Enable padding if true |