dotfiles/.vscode/extensions/saviorisdead.RustyCode-0.18.0/node_modules/vinyl/lib/cloneBuffer.js
Cyryl Płotnicki 2f946d6200 Add .vscode
2016-09-11 10:29:13 +02:00

7 lines
143 B
JavaScript

var Buffer = require('buffer').Buffer;
module.exports = function(buf) {
var out = new Buffer(buf.length);
buf.copy(out);
return out;
};