Files
discord-decomp/sources/by-id/module-09184.js
T
2026-07-28 01:06:53 +03:00

29 lines
1.1 KiB
JavaScript

/* Metro module 9184; source: unknown; dependencies: [9185] */
function _fun71978(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#71978, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9369:6, offset: 0x01d343ad, size: 68 bytes, params: 8, frame: 4
const env0_0 = require;
const closure = function(a0) {
this.mode = require(dependencyMap[0]).MODE_8BIT_BYTE;
this.data = a0;
};
closure.prototype = {getLength: function(a0) {
return this.data.length;
}, write: function(a0) {
var r2;
var data;
var value = 0;
if (value < this.data.length) {
for (r2 = value; true; r2 = value) {
data = this.data;
a0.put(data.charCodeAt(r2), 8);
value = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
if (!(value < this.data.length)) {
break;
}
}
}
}};
module.exports = closure;
}
global.__d(_fun71978, 9184, [9185]) /* metro module 9184, dependencies: [9185] */;