Telodendria/src/include/Base64.h

25 lines
442 B
C
Raw Normal View History

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