Loading files
// https://raw.githubusercontent.com/zhicheng/base64/master/base64.h
#ifndef __BASE64URL_H__
#define __BASE64URL_H__
enum {BASE64_OK = 0, BASE64_INVALID};
#define BASE64_ENCODE_OUT_SIZE(s) (((s) + 2) / 3 * 4)
#define BASE64_DECODE_OUT_SIZE(s) (((s)) / 4 * 3)
int base64url_encode(const unsigned char *in, unsigned int inlen, char *out);
int base64url_decode(const char *in, unsigned int inlen, unsigned char *out);
#endif /* __BASE64URL_H__ */
88cf441bbThis file is pinned to the selected release. Download the original to open it in your design tool.