Skips over and discards
n bytes of data from this input
skip method may, for a variety of reasons, end
up skipping over some smaller number of bytes, possibly
This may result from any of a number of conditions; reaching end of file
n bytes have been skipped is only one possibility.
The actual number of bytes skipped is returned. If
negative, no bytes are skipped.
skip method of this class creates a
byte array and then repeatedly reads into it until
have been read or the end of the stream has been reached. Subclasses are
encouraged to provide a more efficient implementation of this method.
For instance, the implementation may depend on the ability to seek.
|the number of bytes to be skipped.|
|if the stream does not support seek, or if some other I/O error occurs.|