File

util/bit53.lua @ 12312:8119a58b3a5c

core.portmanager: Fix traceback on attempt to get non-existent service If there's no such interface:port then `data` is nil and `data.service` errors.
author Kim Alvefur <zash@zash.se>
date Tue, 22 Feb 2022 13:41:05 +0100
parent 10241:48f7cda4174d
child 12358:d77d8fba44ad
line wrap: on
line source

-- 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;
};