2022-07-23 00:19:12 +00:00
|
|
|
#ifndef TELODENDRIA_BASE64_H
|
|
|
|
#define TELODENDRIA_BASE64_H
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
extern size_t
|
2022-07-25 19:25:06 +00:00
|
|
|
Base64EncodedSize(size_t inputSize);
|
2022-07-23 00:19:12 +00:00
|
|
|
|
|
|
|
extern size_t
|
2022-07-25 19:25:06 +00:00
|
|
|
Base64DecodedSize(const char *base64, size_t len);
|
2022-07-23 00:19:12 +00:00
|
|
|
|
|
|
|
extern char *
|
2022-07-25 19:25:06 +00:00
|
|
|
Base64Encode(const char *input, size_t len);
|
2022-07-23 00:19:12 +00:00
|
|
|
|
|
|
|
extern char *
|
2022-07-25 19:25:06 +00:00
|
|
|
Base64Decode(const char *input, size_t len);
|
2022-07-23 00:19:12 +00:00
|
|
|
|
|
|
|
extern void
|
2022-07-25 19:25:06 +00:00
|
|
|
Base64Unpad(char *base64, size_t length);
|
2022-07-23 00:19:12 +00:00
|
|
|
|
|
|
|
extern int
|
2022-07-25 19:25:06 +00:00
|
|
|
Base64Pad(char **base64Ptr, size_t length);
|
2022-07-23 00:19:12 +00:00
|
|
|
|
|
|
|
#endif
|