public function offsetSet($offset, $value)
    {
        try {
            $this
                ->seekToOffset($offset)
                ->setInt($this->keyInt(), $value);
        } catch (OutOfRangeException $e) {
            trigger_error("Undefined offset: '$offset'", E_USER_NOTICE);
        }
        return $this;
    }
public function offsetSet($offset, $value)
    {
        try {
            $this
                ->seekToOffset($offset)
                ->setInt($this->keyInt(), $value);
        } catch (OutOfRangeException $e) {
            trigger_error("Undefined offset: '$offset'", E_USER_NOTICE);
        }
        return $this;
    }
public function offsetSet ( $ offset , $ value ) { try { $ this -> seekToOffset ( $ offset ) -> setInt ( $ this -> keyInt ( ) , $ value ) ; } catch ( OutOfRangeException $ e ) { trigger_error ( "Undefined offset: '$offset'" , E_USER_NOTICE ) ; } return $ this ; }
Set an offset value

@param   int/string   $offset
@param   mixed       $value
@return  $this
@throws  Triggers a NOTICE message if the offset is out of range
Set an offset value