Package java.io
Class InputStream

Public Method skip

int skip(int num_bytes)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Skips over and discards num_bytes bytes from this input stream. The number of actually skipped bytes may be smaller than num_bytes, possibly 0 (e.g. when reaching end of file). If num_bytes is negative than no bytes are skipped.

The skip method of InputStream creates a byte array and then repeatedly reads into it until num_bytes bytes have been read or the end of the stream has been reached. Subclasses should provide a more efficient implementation of this method.