On Sun, Nov 29, 2009 at 22:27, Jesse Wilson <[email protected]> wrote:
> On Thu, Nov 26, 2009 at 10:44 AM, Tim Ellison <[email protected]> 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...

s/InputStream/ZipInputStream/

-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/

Reply via email to