title: How to convert array of byte to String in Java?
body: <p>How can I convert a array of <code>bytes</code> to <code>String</code> without conversion?.</p>
  
  <p>I tried:</p>
  
  <pre><code>  String doc=new String( bytes);
  </code></pre>
  
  <p>But the doc file is not the same than the bytes (the bytes are <strong>binary information</strong>). For example:</p>
  
  <pre><code>  String doc=new String( bytes);
    byte[] bytes2=doc.getBytes();
  </code></pre>
  
  <p><code>bytes</code> and <code>bytes2</code> are different.</p>
  
  <p>PS: UTF-8 Does not work because it convert some bytes in different values. I tested and it does not work.</p>
  
  <p>PS2: And no, I don't want <code>BASE64</code>.</p>