commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dan bress <danbr...@gmail.com>
Subject Question about: IOUtils.skipFully(InputString,long)
Date Wed, 14 Jan 2015 18:20:23 GMT
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() rather than
read().

Thanks,
Dan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message