MCPcopy Create free account
hub / github.com/bewcloud/bewcloud / swap

Function swap

lib/models/dav.js:2382–2386  ·  view source on GitHub ↗
(b, n, m)

Source from the content-addressed store, hash-verified

2380Buffer.prototype._isBuffer = true;
2381
2382function swap (b, n, m) {
2383 var i = b[n];
2384 b[n] = b[m];
2385 b[m] = i;
2386}
2387
2388Buffer.prototype.swap16 = function swap16 () {
2389 var len = this.length;

Callers 1

dav.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected