8 months ago
We can easily convert String to Byte Array and also from Byte Array to String in Java.
String to Byte Array :
byte[] byteArray = "Testing".getBytes(StandardCharsets.UTF_8);
Byte Array to String :
String data = new String(byteArray, StandardCharsets.UTF_8);
QA Engineer at Bank Julius Baer
8 months ago