base64ToByteString

fun String.base64ToByteString(): ByteString(source)

Decodes a Base64 string into a ByteString.

Throws

if the string is not valid Base64.