decord/source/module_4936.js

23 lines
477 B
JavaScript
Raw Normal View History

2026-08-06 08:05:19 +00:00
// Module ID: 4936
// Function ID: 4937
2026-08-08 06:10:11 +00:00
// Dependencies: []
2026-08-06 08:05:19 +00:00
// Module 4936
2026-08-08 06:10:11 +00:00
let c0 = 18761;
let c1 = 19789;
2026-08-07 06:50:47 +00:00
arg5.default = {
2026-08-08 06:10:11 +00:00
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;
2026-08-07 06:50:47 +00:00
}
}
};