Software /
code /
prosody
Comparison
util/bit53.lua @ 10241:48f7cda4174d
util.bitops: Library to find appropriate bitwise library (closes #1395)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 22 Jul 2019 01:58:57 +0200 |
child | 12358:d77d8fba44ad |
comparison
equal
deleted
inserted
replaced
10240:a17f47d5e119 | 10241:48f7cda4174d |
---|---|
1 -- Only the operators needed by net.websocket.frames are provided at this point | |
2 return { | |
3 band = function (a, b) return a & b end; | |
4 bor = function (a, b) return a | b end; | |
5 bxor = function (a, b) return a ~ b end; | |
6 }; | |
7 |