FileInputStream.skip

FileInputStream.skip

Class Overview | Class Members | This Package | All Packages

Syntax
public native long skip( long n ) throws IOException
Parameters
n
the number of bytes to be skipped.
Returns
the actual number of bytes skipped.
Description
Skips over and discards n bytes of data from the input stream. The skip method may, for a variety of reasons, end up skipping over some smaller number of bytes, possibly 0. The actual number of bytes skipped is returned.

Exceptions
IOException if an I/O error occurs.
Overrides
skip in class InputStream