toBase64Url

Encodes this byte array using the url-safe base64 alphabet of RFC 4648 section 5.

The output uses the alphabet A-Z a-z 0-9 - _ and carries no = padding, which makes it safe for URLs and file names. An empty array produces an empty string. This function never throws.

Return

the unpadded url-safe base64 representation of this array.