IByteStream.setPosition

Overview | Methods | This Package | All Packages

IByteStream.setPosition

Sets the current position of this stream to the specified value.

Syntax

public void setPosition( long value )

Parameters

value

The new position of the stream.

Exceptions

IOException thrown if an I/O error occurs or if the stream does not support positioning.

Remarks

While some streams support positioning beyond the length of the stream, others throw an exception.

See Also   getPosition