title: how to convert the byte array into an integer array
body: <p>I am working on a project in which I am receiving image data as an array of bytes (1-byte per pixel).  Each byte represents a greyscale integer (0-255). </p>
  
  <p>In order to perform a number of functions on the data, I need to convert the byte array into an integer array.
  please help me..</p>