I want to convert String to bytearray in java..
For Example i want output like the following :
String s = "82,73,70,70,90,95,3,0,87,65,86";
Now the logic is , i want same String value in bytearray value like
byte[] b ={82,73,70,70,90,95,3,0,87,65,86};
b = s.getBytes();
doesn't return the same value...it returns each string of byte array value
Any help would be appreciated lot