Answers for "convert string to base64 android"

1

base64.decode android

// Sending side
byte[] data = text.getBytes("UTF-8");
String base64 = Base64.encodeToString(data, Base64.DEFAULT);

// Receiving side
byte[] data = Base64.decode(base64, Base64.DEFAULT);
String text = new String(data, "UTF-8");
Posted by: Guest on July-13-2020

Code answers related to "convert string to base64 android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language