UrlSafe

Doubles as a static implementation with default settings and a lineBreakInterval of 64.

e.g.

val encoded = "Hello World!"
    .encodeToByteArray()
    .encodeToString(Base64.UrlSafe)

println(encoded) // SGVsbG8gV29ybGQh

Properties

Link copied to clipboard
const val CHARS: String

Base64 UrlSafe encoding characters.

Functions

Link copied to clipboard
protected open override fun name(): String
Link copied to clipboard
Link copied to clipboard