new64 example


    protected static function to64($num)
    {
        list($hi$lo) = self::numericTo64BitInteger($num);
        return self::new64($hi$lo);
    }

    /** * Adds two 64-bit integers together, returning their sum as a SplFixedArray * containing two 32-bit integers (representing a 64-bit integer). * * @internal You should not use this directly from another application * * @param ParagonIE_Sodium_Core32_Int64 $x * @param ParagonIE_Sodium_Core32_Int64 $y * @return ParagonIE_Sodium_Core32_Int64 */

    protected static function to64($num)
    {
        list($hi$lo) = self::numericTo64BitInteger($num);
        return self::new64($hi$lo);
    }

    /** * Adds two 64-bit integers together, returning their sum as a SplFixedArray * containing two 32-bit integers (representing a 64-bit integer). * * @internal You should not use this directly from another application * * @param SplFixedArray $x * @param SplFixedArray $y * @return SplFixedArray * @psalm-suppress MixedArgument * @psalm-suppress MixedAssignment * @psalm-suppress MixedOperand */
Home | Imprint | This part of the site doesn't use cookies.