DataInput.skipBytes

Makes an attempt to skip over {@code n} bytes of data from the input stream, discarding the skipped bytes. However, it may skip over some smaller number of bytes, possibly zero. This may result from any of a number of conditions; reaching end of file before {@code n} bytes have been skipped is only one possibility. This method never throws an {@code EOFException}. The actual number of bytes skipped is returned.

@param n the number of bytes to be skipped. @return the number of bytes actually skipped. @exception IOException if an I/O error occurs.

interface DataInput
int
skipBytes
(
int n
)

Meta