title: Byte[] to char[]
body: <p>I am in a requirement of display raw byte data in char form, there are some issue I am stuck like for example [ 1, 32, -1, -1 ] ( byte data ) which when converted into char comes as [1, 3, 2, -, 1, - ,1] </p>
  
  <p>My requirement </p>
  
  <p>[ 1, 32, -1, -1 ] in char format.</p>
  
  <p>Intailly </p>
  
  <p>I used the command </p>
  
  <pre><code>StringBuilder buffer = new StringBuilder();
      for(int i = 0; i &lt; byte1.length;i++){
      buffer.append(byte1[i]);
      }
  char[] c = buffer.toString().toCharArray();
  </code></pre>
  
  <p>Didn't serve my requirement.</p>
  
  <p>Then I used</p>
  
  <pre><code>char dig = (char)(((int)'0')+ (-32));
  
  it gave an invalid output
  </code></pre>
  
  <p>Kindly help in my requirement. Thanks in advance </p>