public function fseek(int $offset, int $whence = SEEK_SET)
    {
        if (!$this->is_seekable) {
            throw new Exception('stream does not support seeking');
        }

        return fseek($this->stream, $offset, $whence);
    }
public function fseek(int $offset, int $whence = SEEK_SET)
    {
        if (!$this->is_seekable) {
            throw new Exception('stream does not support seeking');
        }

        return fseek($this->stream, $offset, $whence);
    }
public function fseek ( int $ offset , int $ whence = SEEK_SET ) { if ( ! $ this -> is_seekable ) { throw new Exception ( 'stream does not support seeking' ) ; } return fseek ( $ this -> stream , $ offset , $ whence ) ; }
Seek to a position.

@see http://php.net/manual/en/splfileobject.fseek.php

@throws Exception if the stream resource is not seekable

@return int
Seek to a position .