skipBytes

 

public int skipBytes(int n) throws IOException, EOFException;

Moves the cursor forward in the message buffer.

Parameters

  • n - the number of bytes to move.

Returns

  • the number of bytes actually moved.

Exceptions

  • IOException - if there is a problem with IO.

  • EOFException - if the skip goes beyond the end of file.


uj14020_