fun ByteArray.toBase64String(flags: Int = Base64.NO_WRAP): String
Returns Base64 representation of the byte array by calling Base64.encodeToString with specified flags.
flags
- Flags to pass to Base64 encoder. Default is Base64.NO_WRAP.
Return
Base64 representation of the byte array.