#include <stddef.h>
#include <stdbool.h>
Go to the source code of this file.
|
bool | isbase64 (char ch) |
|
void | base64_encode (const char *in, size_t inlen, char *out, size_t outlen) |
|
size_t | base64_encode_alloc (const char *in, size_t inlen, char **out) |
|
bool | base64_decode (const char *in, size_t inlen, char *out, size_t *outlen) |
|
bool | base64_decode_alloc (const char *in, size_t inlen, char **out, size_t *outlen) |
|
◆ BASE64_LENGTH
#define BASE64_LENGTH |
( |
| inlen | ) |
((((inlen) + 2) / 3) * 4) |
◆ base64_decode()
bool base64_decode |
( |
const char * | in, |
|
|
size_t | inlen, |
|
|
char * | out, |
|
|
size_t * | outlen ) |
|
extern |
◆ base64_decode_alloc()
bool base64_decode_alloc |
( |
const char * | in, |
|
|
size_t | inlen, |
|
|
char ** | out, |
|
|
size_t * | outlen ) |
|
extern |
◆ base64_encode()
void base64_encode |
( |
const char * | in, |
|
|
size_t | inlen, |
|
|
char * | out, |
|
|
size_t | outlen ) |
|
extern |
◆ base64_encode_alloc()
size_t base64_encode_alloc |
( |
const char * | in, |
|
|
size_t | inlen, |
|
|
char ** | out ) |
|
extern |
◆ isbase64()