ACIL FM
Dark
Refresh
Current DIR:
/home/benbot/bot/server/node_modules/raw-body/node_modules/iconv-lite/lib
/
home
benbot
bot
server
node_modules
raw-body
node_modules
iconv-lite
lib
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
helpers
-
chmod
Open
Rename
Delete
bom-handling.js
1.01 MB
chmod
View
DL
Edit
Rename
Delete
index.d.ts
1.37 MB
chmod
View
DL
Edit
Rename
Delete
index.js
6.19 MB
chmod
View
DL
Edit
Rename
Delete
streams.js
2.91 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/benbot/bot/server/node_modules/raw-body/node_modules/iconv-lite/lib/bom-handling.js
"use strict" var BOMChar = "\uFEFF" exports.PrependBOM = PrependBOMWrapper function PrependBOMWrapper (encoder, options) { this.encoder = encoder this.addBOM = true } PrependBOMWrapper.prototype.write = function (str) { if (this.addBOM) { str = BOMChar + str this.addBOM = false } return this.encoder.write(str) } PrependBOMWrapper.prototype.end = function () { return this.encoder.end() } // ------------------------------------------------------------------------------ exports.StripBOM = StripBOMWrapper function StripBOMWrapper (decoder, options) { this.decoder = decoder this.pass = false this.options = options || {} } StripBOMWrapper.prototype.write = function (buf) { var res = this.decoder.write(buf) if (this.pass || !res) { return res } if (res[0] === BOMChar) { res = res.slice(1) if (typeof this.options.stripBOM === "function") { this.options.stripBOM() } } this.pass = true return res } StripBOMWrapper.prototype.end = function () { return this.decoder.end() }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply