seek

Changes the stream position.

Throws a StreamNotOpenException if the stream is not open for reading.

Syntax

public void seek(long newPosition)

Parameters