var b:ByteArray = new ByteArray();
b.writeByte(1);
b.writeByte(2);
b.writeByte(3);
b.writeByte(4);
b.position = 0;
var c:uint = b.readUnsignedInt();
trace("ddddddd",c >> 24 & 255);
trace("ddddddd",c >> 16 & 255);
trace("ddddddd",c >> 8 & 255);
trace("ddddddd",c >> 0 & 255);
var s:uint = 0;
s = s | 1;
s = (s << 8)| 2;
s = (s << 8)| 3;
s = (s << 8)| 4;
trace(s);
trace(s & 255);
s = s >> 8;
trace(s & 255);
s = s >> 8;
trace(s & 255);
s = s >> 8;
trace(s & 255);