public function seekto($pos)
    {
        $this->pos = ($this->strlen < $pos) ? $this->strlen : $pos;

        return $this->pos;
    }
public function seekto($pos)
    {
        $this->pos = ($this->strlen < $pos) ? $this->strlen : $pos;

        return $this->pos;
    }
public function seekto ( $ pos ) { $ this -> pos = ( $ this -> strlen < $ pos ) ? $ this -> strlen : $ pos ; return $ this -> pos ; }
Move the cursor to a specific position.

@param int $pos The amount of bytes to move

@return int The new position
Move the cursor to a specific position .