invoke

operator fun invoke(v: String, url: Boolean = false): ByteArray

Base64 decodes v to a ByteArray. Set url to true if v is Base64Url encoded.


operator fun invoke(v: ByteArray, url: Boolean = false): String

Base64 encodes v to a String. Set url to true to use Base64Url encoding.