Function jwt::base64_uri_encode

Function Documentation

inline size_t jwt::base64_uri_encode(char *data, size_t len) noexcept

Makes the base64 encoded byte string URL safe. Overwrites/skips few URL unsafe characters from the input sequence.

Arguments: @data : Base64 encoded byte string. @len : Length of the base64 byte string.

Returns: Length of the URL safe base64 encoded byte string.