GoScrobble/web/node_modules/node-libs-browser/mock/buffer.js

11 lines
204 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
function Buffer() {
throw new Error("Buffer is not included.");
}
Buffer.isBuffer = function() {
return false;
};
exports.INSPECT_MAX_BYTES = 50;
exports.SlowBuffer = Buffer;
exports.Buffer = Buffer;