Base64 Encode And Decode String

April 14, 2018

Base64 encode and decode string

val output = Base64.encodeToString(data, Base64.DEFAULT)
val newData = Base64.decode(output, Base64.DEFAULT)
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.