Initial commit

This commit is contained in:
anaarmas
2020-04-27 21:08:38 +02:00
commit ed9e55c0bf
13975 changed files with 2635882 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
module.exports = function isBuffer(arg) {
return arg instanceof Buffer;
}
+6
View 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';
}