An abstraction layer over the various lua bit libraries.
Results are only consistent between underlying implementations when parameters and results are in the range of 0 to 0x7fffffff.
Bitwise And operation.
Bitwise Or operation.
Bitwise XOr operation.
local bit = require "http.bit"
print(bit.band(1, 3)) --> 1