encodeBase64

open fun encodeBase64(source: String): String
open fun encodeBase64(source: Array<Byte>): String

Method to encode in Base64 a source

Return

source in Base64 encoded as String

Parameters

source

: source to encode