lepu-test-platform-web/node_modules/node-libs-browser/mock/buffer.js

11 lines
204 B
JavaScript
Raw Normal View History

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;