Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

DataStream.getPosition

Retrieves the position of this stream.

Syntax

public long getPosition()

Remarks

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

Return Value

Returns the current position of the stream.