code/libraries/joomlatools/library/filesystem/stream/iterator/iterator.php
public function seek($position)
    {
        if ($position > $this->getStream()->getSize()) {
            throw new OutOfBoundsException('Invalid seek position ('.$position.')');
        }

        $this->getStream()->seek($position, SEEK_SET);
    }
public function seek($position)
    {
        if ($position > $this->getStream()->getSize()) {
            throw new OutOfBoundsException('Invalid seek position ('.$position.')');
        }

        $this->getStream()->seek($position, SEEK_SET);
    }
public function seek ( $ position ) { if ( $ position > $ this -> getStream ( ) -> getSize ( ) ) { throw new OutOfBoundsException ( 'Invalid seek position (' . $ position . ')' ) ; } $ this -> getStream ( ) -> seek ( $ position , SEEK_SET ) ; }
Seeks to a given position in the stream

@param int $position
@throws OutOfBoundsException If the position is not seekable.
Seeks to a given position in the stream