Spaces:
Paused
Paused
Download node_modules/buffer-xor/index.js from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 206 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/buffer-xor/index.js
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/buffer-xor/index.js
-
curl -L -o index.js https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/buffer-xor/index.js
206 Bytes
| module.exports = function xor (a, b) { | |
| var length = Math.min(a.length, b.length) | |
| var buffer = new Buffer(length) | |
| for (var i = 0; i < length; ++i) { | |
| buffer[i] = a[i] ^ b[i] | |
| } | |
| return buffer | |
| } | |