Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3.1
-
None
-
None
Description
Methods about reading unsigned-integer in class EndianUtils may return a negative number, due to casting int to long.
Calculations with operator & etc. are under integer in these methods so its results are integer,
then implicit casting the results to long keeps its positive/negative sign.