dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
适配海康NVR
liusuyi
2024-05-25
a7638a68f1b1f7d4a829fb02824c7247bbc476a6
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
buffer-xor
/
inplace.js
1
2
3
4
5
6
7
8
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)
}