Files
ccdi/doc/test-data/purchase_transaction/node_modules/unzipper/lib/Buffer.js

12 lines
253 B
JavaScript
Raw Normal View History

2026-02-09 14:34:27 +08:00
var Buffer = require('buffer').Buffer;
// Backwards compatibility for node versions < 8
if (Buffer.from === undefined) {
Buffer.from = function (a, b, c) {
return new Buffer(a, b, c)
};
Buffer.alloc = Buffer.from;
}
module.exports = Buffer;