util/bit53.lua
author Kim Alvefur <zash@zash.se>
Mon, 22 Jul 2019 01:58:57 +0200
changeset 10245 48f7cda4174d
child 12362 d77d8fba44ad
permissions -rw-r--r--
util.bitops: Library to find appropriate bitwise library (closes #1395)

-- Only the operators needed by net.websocket.frames are provided at this point
return {
	band   = function (a, b) return a & b end;
	bor    = function (a, b) return a | b end;
	bxor   = function (a, b) return a ~ b end;
};