Stream.tell

Gets the current offset within the stream.

class Stream
long
tell
()

Return Value

Type: long

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