encodeBase64

fun String.encodeBase64(): String

Encode String in base64 format and UTF-8 character encoding.