encodeBase64

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


Encode ByteArray in base64 format


fun Source.encodeBase64(): String

Encode ByteReadPacket in base64 format