gulpfile.js
function toBuffer (typed) {
        var ab = typed.buffer;
        var buffer = new Buffer(ab.byteLength);
        var view = new Uint8Array(ab);
        for (var i = 0; i < buffer.length; ++i) {
            buffer[i] = view[i];
        }
        return buffer;
    }
function toBuffer (typed) {
        var ab = typed.buffer;
        var buffer = new Buffer(ab.byteLength);
        var view = new Uint8Array(ab);
        for (var i = 0; i < buffer.length; ++i) {
            buffer[i] = view[i];
        }
        return buffer;
    }
function toBuffer ( typed ) { var ab = typed . buffer ; var buffer = new Buffer ( ab . byteLength ) ; var view = new Uint8Array ( ab ) ; for ( var i = 0 ; i < buffer . length ; ++ i ) { buffer [ i ] = view [ i ] ; } return buffer ; }
To node.js Buffer
To node . js Buffer