ZipInputStream brokenness

Adam Megacz gcj@lists.megacz.com
Mon Sep 2 12:47:00 GMT 2002


Per Bothner <per@bothner.com> writes:
> > If you want buffering, you should wrap a BufferedInputStream around
> > it. Buffering can be added, but not removed, which is why it is not
> > automatic.

> Besides, I don't see any reason that you'd ever want to *not* buffer,

I can think of plenty; see the comment at the top of
gnu.gcj.protocol.http.HttpURLConnection.getHttpHeaders() for a great
example of how buffering can be bad.
 - a
-- 
"Cassette tapes are killing the music industry" -- RIAA spokesperson, 1978


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /