Files
discord-decomp/_bundle/Module4835.js
T
2026-11-01 12:12:55 +02:00

29 lines
689 B
JavaScript

// Metro module 4835 (f4836).
import Module4836 from "./Module4836";
export default {
decode: function decode(a0, a1) {
let r22;
L8: {
const r4 = Module4836.get();
if (r4 !== void 0 && a0 !== void 0) {
try {
r22 = new r4(a0).decode(a1 instanceof DataView ? a1.buffer : Uint8Array.from(a1));
} catch ($e) {
break L8;
}
return r22;
}
}
return (function decodeAsciiValue(a0) {
let r6;
try {
r6 = decodeURIComponent(escape(a0));
} catch ($e) {
return a0;
}
return r6;
})(a1.map((item) => String.fromCharCode(item)).join(""));
},
TAG_HEADER_SIZE: 5
};