Re: Question about: IOUtils.skipFully(InputString,long)

2015-01-15 Thread dan bress
Thomas, Ah, makes sense. Thanks for the info/link. Dan On Thu, Jan 15, 2015 at 9:30 AM, Thomas Neidhart wrote: > Explanation can be found here: > https://issues.apache.org/jira/browse/IO-355 > > Thomas > > On Wed, Jan 14, 2015 at 7:20 PM, dan bress wrote: > >

Question about: IOUtils.skipFully(InputString,long)

2015-01-15 Thread dan bress
Commons IO developers, I am trying to use IOUtils.skipFully(InputStream, long) to skip a number of bytes on my input stream. Why does this method call read() on the InputStream, rather than skip()? In my case, the implementation of my InputStream does have performance benefits of calling skip(