void base64_decode(char* in, uint64_t inLen, uint8_t* out, uint64_t* outLen)
Converts the ASCII base-64 encoded input to binary. out must be big enough to contain the converted value. The exact length of
the output is returned in outLen, which must be valid.
void base64_encode(unsigned char* in, uint64_t inLen, char* out, uint64_t* outLen)
Converts the binary input to an base-64 encoded ASCII. out must be big enough to contain the converted value. The exact length of
the output is returned in outLen, which must be valid.
void base64_decode_custom(const char alpha[65], char* in, uint64_t inLen, uint8_t* out, uint64_t* outLen)
Converts the ASCII base-64 encoded input with the provided character set to binary. out must be big enough to
contain the converted value. The exact length of the output is returned in outLen, which must be valid. The character
set must be unique. The 65th character is what "=" normally is.
void base64_encode_custom(const char alpha[65], unsigned char* in, uint64_t inLen, char* out, uint64_t* outLen)
Converts the binary input to an base-64 encoded ASCII using the provided character set. out must be big enough to
contain the converted value. The exact length of the output is returned in outLen, which must be valid. The character
set must be unique. The 65th character is what "=" normally is.