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