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: > >> Commons IO developers, >>

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

2015-01-15 Thread Thomas Neidhart
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: > 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 r

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(