I'm trying to convert a String to a byte array which has 2 different bytes. 
for eg: String s1 = " 055E" I need to convert this into like 
byte b1 = Integer.parseInt(05,16);  -  1byte
byte b2 = Integer.parseInt(5E,16);   -  1byte
At the end i need to have a byte array which will have values b1, b2.
byte[] b = {b1, b2};    
Any help on this would be appreciated. thanks in advance
 
     
     
    