decord/source/module_4999.js
2026-08-14 17:33:39 +00:00

22 lines
477 B
JavaScript

// Module ID: 4999
// Function ID: 5000
// Dependencies: []
// Module 4999
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;
const error = new Error("Illegal byte order value. Faulty image.");
throw error;
}
}
};