decord/source/__polyfill/05xxx/module_5242.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

26 lines
558 B
JavaScript

// Module ID: 5242
// Function ID: 5243
// Dependencies: [5227]
// Module 5242
import _mod5227 from "module_5227" /* 5227 */;
require = arg1;
const dependencyMap = arg6;
let c2 = 0;
let c3 = "<?xpacket begin";
export default {
isXMLFile(dataView) {
let tmp = dataView;
if (tmp) {
tmp = _mod5227.getStringFromDataView(dataView, c2, length.length) === length;
}
return tmp;
},
findOffsets(byteLength) {
const xmpChunks = [];
xmpChunks.push({ dataOffset, length: byteLength.byteLength });
return { xmpChunks };
}
};