Files
hcapEnv/node_modules/msgpack-lite/lib/buffer-global.js
2026-02-21 18:27:49 +08:00

11 lines
230 B
JavaScript

/* globals Buffer */
module.exports =
c(("undefined" !== typeof Buffer) && Buffer) ||
c(this.Buffer) ||
c(("undefined" !== typeof window) && window.Buffer) ||
this.Buffer;
function c(B) {
return B && B.isBuffer && B;
}