WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core_Curve25519_Fe::offsetSet() public WP 1.0

{} It's a method of the class: ParagonIE_Sodium_Core_Curve25519_Fe{}

No Hooks.

Return

null. Nothing.

Usage

$ParagonIE_Sodium_Core_Curve25519_Fe = new ParagonIE_Sodium_Core_Curve25519_Fe();
$ParagonIE_Sodium_Core_Curve25519_Fe->offsetSet( $offset, $value );
$offset *(int null) (required)*
$value(int) (required)
-

Code of ParagonIE_Sodium_Core_Curve25519_Fe::offsetSet() WP 5.8.2

public function offsetSet($offset, $value)
{
    if (!is_int($value)) {
        throw new InvalidArgumentException('Expected an integer');
    }
    if (is_null($offset)) {
        $this->container[] = $value;
    } else {
        $this->container[$offset] = $value;
    }
}