flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
9
VISUALIZACION/node_modules/buffer-xor/inplace.js
generated
vendored
Executable file
9
VISUALIZACION/node_modules/buffer-xor/inplace.js
generated
vendored
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue