Open GoogleCodeExporter opened 9 years ago
When I posted the bug I didn't notice the
reader.position = reader.available = reader.depth = reader.fieldNumber =
reader.ioIndex = 0;
is called on every TryDeserializeWithLengthPrefix call, which is good enough
for me.
I suppose there might be some weird edge case where there could still be
overflow, so personally I wouldn't convert longs to ints in my own code but I
suppose you know whether the overflow can happen in any supported scenario.
Original comment by virtan...@gmail.com
on 8 Dec 2013 at 2:02
Original issue reported on code.google.com by
virtan...@gmail.com
on 17 Nov 2013 at 1:39