title: Convert byte array to integer
body: <p>I have a byte array, I want to convert them to integer.
  How to do it?
  My code as below:</p>
  
  <pre><code>byte[] bytes = new byte[]{(byte)0xFF, (byte)0x01, (byte)0x0F, ...};
  int[] integers = new int[bytes.length];
  int i;
  for(i = 0; i &lt; bytes.length; i++) {
  integers[i] = bytes[i];
  }
  </code></pre>
  
  <p>Get to integers array as {-1, 1, 15, ...}.
  But I want to get is {255, 1, 15, ...}.
  Any function can arrived it?</p>