class Base64URLSafe
(source)
Utility methods for encoding and decoding base64 URL safe strings.
static fun decode(b64: String): Bytes
Decode a base64 encoded string to bytes. |
|
static fun decodeBytes(b64: String): ByteArray
Decode a base64 encoded string to a byte array. |
|
static fun encode(bytes: Bytes): String
Encode bytes to a base64 encoded string. |
|
static fun encodeBytes(bytes: ByteArray): String
Encode a byte array to a base64 encoded string. |