EsotericSoftware/kryo — pull request #211 by lizhoulee (2014-04-26 04:46:31+00:00)
Title: If remaining is greater than Integer.MAX_VALUE, "(int) remaining" will be negative

When the parameter count is great than Integer.MAX_VALUE, like
(Integer.MAX_VALUE + 1L)
then the code
(int)remaining
will be return -2147483648