position

abstract fun position(): Long

Returns the current position in the stream.

Return

the current offset from the beginning of the stream, in bytes.