Function jwt::base64_encode
Defined in File base64.hpp
Function Documentation
-
inline std::string jwt::base64_encode(const char *in, size_t len)
Encodes a sequence of octet into base64 string. Returns std::string resized to contain only the encoded data (as usual without null terminator).
The encoded string is atleast
encoding_size(input len)
in size.Arguments: @in : Input byte string to be encoded. @len : Length of the input byte string.