title: AS3 BitmapData to byteArray
body: <p>I am trying to serialize a Bitmap to store in an XML file. My plan is to turn the BitmapData into a byteArray, but I haven't been able to fine an example of this. </p>
  
  <p>Other suggestions are also welcome.</p>