Permalink
Browse files

removed dead code

  • Loading branch information...
1 parent 7343693 commit 05fb85bcfe29f14a926146c9ef93a0f92f226f48 @einaros einaros committed Dec 11, 2011
Showing with 0 additions and 6 deletions.
  1. +0 −6 lib/Sender.js
View
@@ -173,12 +173,6 @@ Sender.prototype.frameData = function(opcode, data, finalFragment, maskData) {
module.exports = Sender;
-function applyMaskToBuffer(buf, mask) {
- if (typeof buf == 'string') buf = new Buffer(buf);
- for (var i = 0, l = buf.length; i < l; ++i) buf[i] ^= mask[i % 4];
- return buf;
-}
-
function getArrayBuffer(array) {
var l = array.byteLength
, buffer = new Buffer(l);

0 comments on commit 05fb85b

Please sign in to comment.