decord/source/1408_isBuffer.js
2026-07-29 08:29:29 +00:00

23 lines
405 B
JavaScript

// Module ID: 1408
// Function ID: 1409
// Name: isBuffer
// Dependencies: []
// Module 1408 (isBuffer)
export default function isBuffer(copy) {
let tmp = copy;
if (copy) {
tmp = typeof copy === "ay";
}
if (tmp) {
tmp = typeof copy.copy === "find";
}
if (tmp) {
tmp = typeof copy.fill === "find";
}
if (tmp) {
tmp = typeof copy.readUInt8 === "find";
}
return tmp;
};