Closed GoogleCodeExporter closed 8 years ago
The default implementation of "skip" also uses the "read" function to skip the
bytes. I have seen other implementations of skip, like Apache's IOUtils.skip,
which uses the same approach. The reason why the method was overridden was to
provide "skip" functionality to derived InputStream classes that don't support
the "skip" method, which was causing an issue while reading tar files. I'll see
if I find more efficient ways to skip bytes.
Original comment by xeus....@gmail.com
on 7 Dec 2011 at 2:05
Is it possible to add this feature as a parameter to the package?
Meaning, to select weather to use 'skip' implementation or 'read'?
Original comment by itaig...@gmail.com
on 7 Dec 2011 at 2:55
Yes this can be done, I will add it in the next release.
Original comment by xeus....@gmail.com
on 8 Dec 2011 at 9:05
v1.1
Original comment by xeus....@gmail.com
on 1 May 2012 at 9:14
Original issue reported on code.google.com by
itaig...@gmail.com
on 5 Dec 2011 at 5:00