DataInput.skipBytes
Interface Overview | Interface Members |
This Package |
All Packages
public abstract int skipBytes( int n ) throws IOException
Parameters
- n
- the number of bytes to be skipped.
Returns
the number of bytes skipped, which is always n.
Description
Skips exactly n bytes of input.
Exceptions
EOFException
if this stream reaches the end before skipping
all the bytes.
Exceptions
IOException
if an I/O error occurs.