Posted on Sep 11, 2012 by
Happy Rabbit
When writing a reader over a Kryo Input, it's nice to know when one has reached end of stream at a "normal" point.
The way to do this is to call optional(1) before trying to read. However, optional() isn't public.
Please make optional() public, or create a public boolean eof() { return optional(1) > 0; }
Comment #1
Posted on Nov 30, 2012 by Grumpy Cameleof() has been added. Thanks!
Status: Fixed
Labels:
Type-Defect
Priority-Medium