Stream.tell

long tell()

Gets the current offset within the stream.

Returns

the current position within the stream or %-1 on fail.