- Found in:
- SKSE
Description
Wiki Description
Shifts value left by n number of bits.
Documentation Comment
SKSE64 additions built 2024-01-17 20:01:40.731000 UTC
Caveats
Parameters
intvalue
CK Wiki Description
The integer that you wish to shift.
intshiftBy
CK Wiki Description
How many bits to shift to the left.
Examples
int iA = Math.LeftShift(52, 5) ;iA == 1664
int iC = Math.LeftShift(0x00070, 1) ;iC == 224Auto-Generated Example
int myInt__value
int myInt__shiftBy
int returnedValue = Math.LeftShift(myInt__value, myInt__shiftBy)