The VarInt class use 2 values for the uint32 limit:
In sizeOf():
else if (isLessThanUnsigned(value, 4294967296L))
return 5; // 1 marker + 4 data bytes
In EncodeBE():
} else if (isLessThanUnsigned(value, 4294967295L)) {
byte[] bytes = new byte[5];
Believe the first one is correct
Original issue reported on code.google.com by yves.cui...@gmail.com on 24 Mar 2013 at 10:23
Original issue reported on code.google.com by
yves.cui...@gmail.com
on 24 Mar 2013 at 10:23