This method of the ActiveXInputStream Class skips over and discards bytes of data from the input stream and returns the number of bytes actually skipped.
public long skip(long n) throws IOException;
Returns the number of bytes skipped.
n | The number of bytes to skip. |
If there are fewer than n bytes remaining before the end of the stream, this method skips the number of bytes remaining. The current read position is set to the end of the file and the number of bytes skipped is returned.
IOException if an I/O error occurs.