title: AS3 ByteArray readShort
body: <p>i have to read a sequence of bytes,that was written in different ways (writeBite, writeShort and writeMultiByte) and display them has list of HEX byte on video.
  My problem is convert the number 1500, i tryed other number and the results was correct...
  here is a an example:</p>
  
  <pre><code>var bytes:Array = [];
  var ba:ByteArray = new ByteArray();
  ba.writeShort(1500);
  
  ba.position = 0;
  
  for (var i=0; i&lt;ba.length; i++)
  {
     bytes.push(ba.readByte().toString(16));
  }
  trace(bytes);//5,-24 i'm expetting 5,DC
  </code></pre>