view util/bit53.lua @ 11872:ffff0d8a9c68

mod_admin_adhoc: Move number coercion into util.dataforms Internal use of XEP-0122 to shift the responsibility for converting numbers to strings.
author Kim Alvefur <zash@zash.se>
date Mon, 25 Oct 2021 21:43:23 +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;
};