You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

isBufferBrowser.js 203B

123456
  1. module.exports = function isBuffer(arg) {
  2. return arg && typeof arg === 'object'
  3. && typeof arg.copy === 'function'
  4. && typeof arg.fill === 'function'
  5. && typeof arg.readUInt8 === 'function';
  6. }