BufferedInputReader
Archie Cobbs
archie at whistle.com
Wed Dec 22 09:22:39 PST 1999
Kero van Gelder writes:
> I guess I'll ByteArray my files instead of Buffering them. Fast enough
> and no problems with 2k boundaries. Lucky for me my files are only
> several 100k long.
Or just enclose your skip() calls in a loop.. eg.
for (int need = 8192; need > 0; ) {
need -= in.skip(need);
}
Though technically there seems to be no guarantee that skip()
is required to return > 0 !
-Archie
___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
More information about the kaffe
mailing list