WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core32_Int64::fromInt() public WP 1.0

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

No Hooks.

Return

self.

Usage

$result = ParagonIE_Sodium_Core32_Int64::fromInt( $low );
$low(int) (required)
-

Code of ParagonIE_Sodium_Core32_Int64::fromInt() WP 5.8.2

public static function fromInt($low)
{
    ParagonIE_Sodium_Core32_Util::declareScalarType($low, 'int', 1);
    $low = (int) $low;

    return new ParagonIE_Sodium_Core32_Int64(
        array(
            0,
            0,
            (int) (($low >> 16) & 0xffff),
            (int) ($low & 0xffff)
        )
    );
}