WordPress at a glance
function is not described

ParagonIE_Sodium_Core32_Int32::shiftLeft() public WP 1.0

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

No Hooks.

Return

ParagonIE_Sodium_Core32_Int32. Null. Nothing.

Usage

$ParagonIE_Sodium_Core32_Int32 = new ParagonIE_Sodium_Core32_Int32();
$ParagonIE_Sodium_Core32_Int32->shiftLeft( $c );
$c(int)
-

Code of ParagonIE_Sodium_Core32_Int32::shiftLeft() WP 5.7

<?php
public function shiftLeft($c = 0)
{
    ParagonIE_Sodium_Core32_Util::declareScalarType($c, 'int', 1);
    /** @var int $c */
    $c = (int) $c;

    $return = new ParagonIE_Sodium_Core32_Int32();
    $return->unsignedInt = $this->unsignedInt;
    $c &= 63;
    /** @var int $c */
    if ($c === 0) {
        $return->limbs = $this->limbs;
    } elseif ($c < 0) {
        /** @var int $c */
        return $this->shiftRight(-$c);
    } else {
        /** @var int $c */
        /** @var int $tmp */
        $tmp = $this->limbs[1] << $c;
        $return->limbs[1] = (int)($tmp & 0xffff);
        /** @var int $carry */
        $carry = $tmp >> 16;

        /** @var int $tmp */
        $tmp = ($this->limbs[0] << $c) | ($carry & 0xffff);
        $return->limbs[0] = (int) ($tmp & 0xffff);
    }
    return $return;
}