Retrieves the position of this stream.
public long getPosition()
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.
Returns the current position of the stream.