1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/vinyl/lib/cloneBuffer.js

8 lines
143 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
var Buffer = require('buffer').Buffer;
module.exports = function(buf) {
var out = new Buffer(buf.length);
buf.copy(out);
return out;
};