Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

DataStream.setPosition

Sets the position of this stream.

Syntax

public void setPosition( long position )

Parameters

position

The new position of the stream.

Remarks

This method implements the IByteStream.setPosition method. The default implementation throws an IOException, but a subclass can override this method to provide the appropriate functionality.