util.bit53

util.bit53 is a compatibility library for Lua 5.3 and later where bitwise operations are operators and may no longer be available as functions.

This is not used directly but via util.bitcompat.

Currently it provides a subset of bitwise operations, namely:

band(...)
Binary AND operation
bor(...)
Binary OR operation
bxor(...)
Binary XOR operation
rshift(x, disp)
Shift right
rshift(x, disp)
Shift left

See the Lua manual for further details.