GT2/GT2-iOS/node_modules/ws/lib/BufferUtil.js

18 lines
316 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
'use strict';
/*!
* ws: a node.js websocket client
* Copyright(c) 2011 Einar Otto Stangvik <einaros@gmail.com>
* MIT Licensed
*/
var bufferUtil;
try {
bufferUtil = require('bufferutil');
} catch (e) {
bufferUtil = require('./BufferUtil.fallback');
}
module.exports = bufferUtil.BufferUtil || bufferUtil;