You are right about this limitation, as3 Number
type is actually a Double
precision 64-bit with only 53 bits for the mantissa, but I wonder how do you read the 7 byte value and where do you store it?
There are several as3 Long
implementations (64 Integer) so you can use it to read and store 7 bit number (but it will still read 8 bytes from the ByteArray
), but if you don't need the Math for your big number just use Strings
to read in and use them as a keys for Dictionary.
Anyway Dictionary uses only Strings
or Objects
as a keys but not Numbers, so even if as3 had a Long it would be convert to the String.