首页 > 代码库 > trace(c >> 16 & 0xf); trace(c >> 32 & 0xf);

trace(c >> 16 & 0xf); trace(c >> 32 & 0xf);

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);