view util/bit53.lua @ 11094:03fdf41fd948

util.error: Pass converted stanza errors throguh new() In order to benefit from common processing
author Kim Alvefur <zash@zash.se>
date Sun, 27 Sep 2020 00:17:48 +0200
parents 48f7cda4174d
children 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;
};