Open raganhan opened 6 years ago
This issue also affects SIDs, i.e. the max SID that can be read without throwing an exception is $2147483647.
The same problem exists for VarInt
, it has an upper bound of 0x7FFFFFFF. This affects IonDecimal's exponent values, i.e. the max exponent of an IonDecimal that can be read without throwing an exception is 2147483647.
Follow up for https://github.com/amzn/ion-java/issues/146
Change
readVarUInt
to uselong
instead ofint
. This will allow support for biggerVarUInt
values allowing for bigger values and containers to be supportedFrom #62: There are upper bound limitations in the IonReader on specific IonTypes.
These limitations exists due to values that exceed the representable range of the 32-bit Java int primitive.
VarUInt basic field format has a upper bound of 0x7FFFFFFF. This affects SIDs, i.e. the max SID that can be read without throwing an exception is $2147483647.
VarInt basic field format has a upper bound of 0x7FFFFFFF. This affects IonDecimal's exponent values, i.e. the max exponent of an IonDecimal that can be read without throwing an exception is 2147483647.
Imported from ION-306,IONJAVA-78