decodeBase64

common
fun String.decodeBase64(): ByteString?

Decodes the Base64-encoded bytes and returns their value as a byte string. Returns null if this is not a Base64-encoded sequence of bytes.

fun String.decodeBase64(): ByteString?