decord/source/__polyfill/05xxx/module_5179.js
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

22 lines
471 B
JavaScript

// Module ID: 5179
// Function ID: 5180
// Dependencies: []
// Module 5179
let c0 = 18761;
let c1 = 19789;
arg5.default = {
BIG_ENDIAN: 19789,
LITTLE_ENDIAN: 18761,
getByteOrder(getUint16, sum) {
if (getUint16.getUint16(sum) === c0) {
return c0;
} else if (getUint16.getUint16(sum) === c1) {
return c1;
} else {
const _Error = Error;
error = new Error("Illegal byte order value. Faulty image.");
throw error;
}
}
};