Garry's Mod Wiki

bit.rol

  number bit.rol( number value, number shiftCount )

Description

Returns the left rotated value.

Arguments

1 number value
The value to be manipulated.
2 number shiftCount
Amounts of bits to rotate left by.

Returns

1 number
shiftedValue