Module utils.bit32
Bit operations.
This module implements some of the functions in Lua 5.2’s bit32 module. Since that module isn’t shipped with Lua 5.1 and 5.3, the following module is a portable replacement.
Functions
band(...) | Bitwise and. |
bor(...) | Bitwise or. |
Functions
- band(...)
-
Bitwise and.
see Lua’s bit32.band
- bor(...)
-
Bitwise or.
see Lua’s bit32.bor