spring-framework / org.springframework.util / Base64Utils / decodeFromString

decodeFromString

open static fun decodeFromString(src: String): ByteArray

Base64-decode the given byte array from an UTF-8 String.

Parameters

src - the encoded UTF-8 String

Return
the original byte array