17 November, 2010

In AMF3 integers are serialized using a variable length unsigned 29-bit integer. The ActionScript integer types - a signed 'int' type and an unsigned 'uint' type - are also represented using 29-bits. If the value of an unsigned integer (uint) is greater or equal to 22^9 or if the value of a signed integer (int) is greater than or equal to 22^8 then it will be represented as a double and thus serialized in using the AMF3 double type.