I have this hex string, "1EA23", I would like to put this hex string into a byte array...
String hexString = "1EA23";
byte byteArray = new byte;
the value of byteArray should be...
byteArray = (byte)0;
byteArray = (byte)0x01;
byteArray = (byte)0xEA;
byteArray = (byte)0x23;
How can I do this?? I try to do it with substring...but it seems not work well...help please~~~~