extracting Byte by Byte from an ArrayOfByte
<p>i have an ArrayOfByte like this:</p>

<pre><code>byte[] arrayOfByte = new byte[1024]
</code></pre>

<p>It contains array of 1,2,3,4 inside it randomly..</p>

<p>Assume there are about 100 Byte data in it,</p>

<p>my question is how to extract byte by byte data from it :
it i use <code>Log.d(TAG, "arrayOfByte :"+arrayOfByte);</code> it will display <code>arrayOfByte :[B@2b052c60</code></p>

<p>now i want to extract each byte separately and <code>display: 1,1,2,1,3,3,3,2,2,1,4,4,4,2,3,3,3...</code> like this </p>

<p><strong>UPDATE:</strong>
Thanks Sumit Singh, it worked .. </p>

<p>now suppose we <code>display: [1,1,1,2,3,2,2,2,1,1,1,0,0,0,0,0,0,0]</code></p>

<p><strong>Question1:</strong> how to put these values in some <code>int[] series</code> </p>

<p><strong>Question2:</strong> can i delete few starting elements from it and make it <code>[2,2,1,1,1,0,0,0,0,0,0,0]</code></p>
