This encoding differs from base64 in so far that the characters + and / are
replaced with - and _ and the padding (=) is removed, so that the encoded
value can be inserted into URIs without escaping.
Returns
either the array or an error, if text is not a valid base64url encoding
Decode a base64url-encoded byte array.
This encoding differs from base64 in so far that the characters
+and/are replaced with-and_and the padding (=) is removed, so that the encoded value can be inserted into URIs without escaping.Returns
either the array or an error, if
textis not a valid base64url encoding