encode

open fun encode(data: Array<Byte>): String

Encode an input to Base64 with the default alphabet (RFC4648 with '+', '/')

Return

The encoded data

Parameters

data

Data to be encoded (raw bytes)