I have a ByteArray that contains an 64-bit long value that originated
from Java code.  How can I read this into the Flex Number data type?

Will something like this work?  Do the bitwise operators work with the
Number type?

byteArray.position = 0;
var longNumber:Number = (Number(byteArray.readInt()) << 32) &
Number(byteArray.readInt())

Thanks,
Andrew

Reply via email to