Try Install Learn Blog API Packages GitHub
Pages

Bitwise

Bitwise operations. Directly uses the javascript operators. All numbers are converted to 32 bit integers. More Information: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#bitwise_operators

Functions

and
(
l
:
Number
r
:
Number
)
:
Number

Bitwise and

leftShift
(
number
:
Number
shiftCount
:
Number
)
:
Number

Bitwise left shift

not
(
n
:
Number
)
:
Number

Bitwise not

or
(
l
:
Number
r
:
Number
)
:
Number

Bitwise or

rightShift
(
number
:
Number
shiftCount
:
Number
)
:
Number

Bitwise right shift

xor
(
l
:
Number
r
:
Number
)
:
Number

Bitwise xor

zeroFillRightShift
(
number
:
Number
shiftCount
:
Number
)
:
Number

Bitwise zero filling right shift