Initial commit (from f5274cbdce4ae7c9e4b937dcdf95ac70ae436d5f)
This commit is contained in:
commit
28ccc3db2d
13974 changed files with 2618436 additions and 0 deletions
3
node_modules/util/support/isBuffer.js
generated
vendored
Normal file
3
node_modules/util/support/isBuffer.js
generated
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
module.exports = function isBuffer(arg) {
|
||||
return arg instanceof Buffer;
|
||||
}
|
||||
6
node_modules/util/support/isBufferBrowser.js
generated
vendored
Normal file
6
node_modules/util/support/isBufferBrowser.js
generated
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
module.exports = function isBuffer(arg) {
|
||||
return arg && typeof arg === 'object'
|
||||
&& typeof arg.copy === 'function'
|
||||
&& typeof arg.fill === 'function'
|
||||
&& typeof arg.readUInt8 === 'function';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue