determine actual contents of a byte array
<p>Does java have a function that will in essence "dump" the contents of a byte array? 
I'm trying to determine the true contents of a byte array when I convert the 8 byte array to  a string. I get the following:</p>

<pre><code>2011.05.28 17:13:25 ConversationID from cm_init is [B@46e446e4  
</code></pre>

<p>where [B@46e446e4 is the contents of the string field. </p>

<p>Generated from the byte array, I count a "string" of 11 characters. When there should only be 8. </p>

<p>I have defined:</p>

<pre><code>static byte[] conversation_ID = new byte[8];
static String convrsID;
</code></pre>

<p>when I want to "look" at the conversation_ID value --> <code>convrsID = conversation_ID.toString();</code> both the <code>convrsID</code> and the <code>conversation_ID</code> show a length of 8 via the respective length functions.  </p>

<p>Thanks  </p>

<p>Guy</p>
