On Thu, Nov 26, 2009 at 10:44 AM, Tim Ellison <t.p.elli...@gmail.com> wrote:

> I know the arguments that say available() should not be used to judge
> the total number of bytes that can be read, but it seems that a number
> of applications (including our generated parser?) use it in this way.
>

And if we return a subclass of ZipInputStream (which we do) we need to honor
the contract of InputStream.available(), which promises to return 1 or 0...

Reply via email to