title: How to get pixel data of CGBitmap as byte[] in Xamarin iOS
body: <p>I have <code>CGBitmap</code> instance (32 bits per pixel) and I would like to get the image data in a <code>byte[]</code>.</p>
  
  <p>The byte array should get the values in <em>ARGB</em> format so the first 4 bytes correspond to the first pixel in the image bytes for each of the <strong>alpha, red, green and blue</strong> values.</p>