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