seek

 

public void seek(int offset) throws EOFException;

Moves the cursor to a new absolute position in the message buffer. Subsequent reads and writes will start from this position in the buffer.

Parameters

  • offset - the new value of the cursor position.

Exceptions

  • EOFException - if offset takes cursor outside the message data.


uj14000_