InputStream.read() returns -1 on EOF.
DataInput.readByte() can return any value (including -1), and throws
EOFException on EOF.
https://groups.google.com/forum/#!topic/protostuff/D7Bb1REf8pQ
Original issue reported on code.google.com by david.yu...@gmail.com on 18 Nov 2014 at 3:38
Original issue reported on code.google.com by
david.yu...@gmail.com
on 18 Nov 2014 at 3:38