title: How best to convert a byte[] array to a string buffer
body: <p>I have a number of byte[] array variables I need to convert to string buffers.</p>
  
  <p>is there a method for this type of conversion ? </p>
  
  <p>Thanks </p>
  
  <p>Thank you all for your responses..However I didn't make myself clear....
  I'm using some byte[] arrays pre-defined as public static "under" the class declaration 
  for my java program. these "fields" are reused during the "life" of the process. 
  As the program issues status messages, (written to a file) I've defined a string buffer
  (mesg_data) that used to format a status message. 
  So as the program executes 
  I tried msg2 = String(byte_array2) 
  I get a compiler error:
  cannot find symbol
  symbol  : method String(byte[])
  location: class APPC_LU62.java.LU62XnsCvr
           convrsID  =  String(conversation_ID) ;</p>
  
  <p>example: </p>
  
  <pre><code>public class LU62XnsCvr extends Object
             .
             .
  static String convrsID ; 
  static byte[] conversation_ID = new byte[8] ;
  </code></pre>
  
  <p>So I can't use a "dynamic" define of a string variable because the same variable is used
  in multiple occurances. </p>
  
  <p>I hope I made myself clear 
  Thanks ever so much </p>
  
  <p>Guy </p>