decord/source/__polyfill/05xxx/module_5269.js
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

23 lines
475 B
JavaScript

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