You are here

public function ParagonIE_Sodium_Core_Curve25519_Fe::offsetGet in Automatic Updates 7

Same name and namespace in other branches
  1. 8 vendor/paragonie/sodium_compat/src/Core/Curve25519/Fe.php \ParagonIE_Sodium_Core_Curve25519_Fe::offsetGet()

@internal You should not use this directly from another application

@psalm-suppress MixedArrayOffset

Parameters

int $offset:

Return value

int

File

vendor/paragonie/sodium_compat/src/Core/Curve25519/Fe.php, line 106

Class

ParagonIE_Sodium_Core_Curve25519_Fe
Class ParagonIE_Sodium_Core_Curve25519_Fe

Code

public function offsetGet($offset) {
  if (!isset($this->container[$offset])) {
    $this->container[$offset] = 0;
  }
  return (int) $this->container[$offset];
}