decord/source/__polyfill/05xxx/module_5218.js
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

22 lines
471 B
JavaScript

// Module ID: 5218
// Function ID: 5219
// Dependencies: []
// Module 5218
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;
}
}
};