initial commit
[JIRC.git] / node_modules / websocket / lib / xor.js
CommitLineData
39c8b14f 1/*
2 * Buffer xor module
3 * Copyright (c) Agora S.A.
4 * Licensed under the MIT License.
5 * Version: 1.0
6 */
7
8try {
9 module.exports = require('../build/Release/xor');
10} catch (e) { try {
11 module.exports = require('../build/default/xor');
12} catch(e) { try {
13 module.exports = require('./xor.fallback');
14 console.warn("Warning: Native modules not compiled. XOR performance will be degraded.")
15} catch (e) {
16 console.error("xor.node seems not to have been built. Run npm install.")
17 throw e;
18}}}