-- 0x7 = 0111 binary -- and 0xd = 1101 binary -- ------- -- 0x5 = 0101 binary print(band(0x7, 0xd)) -- 5
bor()
bxor()
bnot()
lshr()
shl()
shr()
rotl()
rotr()