seek Method (BufferedRandomAccessFile)
In This Topic
Moves the current position to the given offset at which the next read or write occurs. The offset is measured from the beginning of the stream.
Syntax
'Declaration
Public Overridable Sub seek( _
ByVal As Integer _
)
public virtual void seek(
int
)
Parameters
- off
- The offset where to move to.
Exceptions
Exception | Description |
EOFException | If in read-only and seeking beyond EOF.
|
java.io.IOException | If an I/O error ocurred.
|
See Also