The containing class is available as IO\SeekableHandle in the www repository.
IO\SeekableHandle
Get the current pointer position within a handle
public function tell(): int;
int