encodeBase64

fun String.encodeBase64(): String

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


fun ByteArray.encodeBase64(): String

Encode ByteArray in base64 format


fun ByteReadPacket.encodeBase64(): String

Encode ByteReadPacket in base64 format

fun encodeBase64(bytes: ByteArray): String

Encode bytes as a BASE64 string