view util/bit53.lua @ 12156:17cffaa78f48

mod_bookmarks: Add option for disabling upgrade of legacy bookmarks Might be nice to reduce amount of things happening on connect once all users has upgraded
author Kim Alvefur <zash@zash.se>
date Sat, 08 Jan 2022 00:32:33 +0100
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;
};