view util/bit53.lua @ 10584:0c464bb7eb03

net.websocket.frames: Add ping and pong test cases
author Kim Alvefur <zash@zash.se>
date Thu, 02 Jan 2020 13:17:43 +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;
};