encodeUrl

open fun encodeUrl(data: Array<Byte>): String

Encode an input to Base64 with the alphabet safe for URL-s and filenames (RFC4648 with '-', '_')

Return

The encoded data

Parameters

data

Data to be encoded (raw bytes)