WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core_ChaCha20_Ctx::offsetSet() public WP 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$ParagonIE_Sodium_Core_ChaCha20_Ctx = new ParagonIE_Sodium_Core_ChaCha20_Ctx();
$ParagonIE_Sodium_Core_ChaCha20_Ctx->offsetSet( $offset, $value );
$offset(int) (required)
-
$value(int) (required)
-

Code of ParagonIE_Sodium_Core_ChaCha20_Ctx::offsetSet() WP 5.8.2

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