ArrayBuffer problem in JS

question 1:

FileReaderreadAsArrayBufferMongodbArrayBufferMongodb
  if(!isinArray(alreadychunks,curindex)) {
                                let tempcell = {
                                    data: null,
                                    n: 0,
                                    file_id: summary,
                                    username: username,
                                    length: 0
                                };
                                tempcell.length = end - start;
                                filder[curindex] = new FileReader();
                                
                               filder[curindex].readAsArrayBuffer(file.slice(start, end));
                                filder[curindex].onload = function () {
                                    tempcell.n = curindex;
                                    tempcell.data = filder[curindex].result
                             
                                    //chunk
                                   chunksarrpromise.push(uploading("chunks", tempcell, chunksurl));
                                }
             }

question 2:

  :
      MongodbNode.js
      :
 
   (1)
      filder[curindex].readAsText(file.slice(start, end),"gb2312")
      Node.js:
      let req = http.request(options, function (res) {
            res.on("data", function (chunk) {
                let myoption = {
                    flags: "r+",
                    start: i * obj.chunkSize
                };
                let writeStream = fs.createWriteStream(obj.filename, myoption);
                writeStream.write(chunk)
 (2)
  Node.jsReadASDataUrl,base6
  base64

I hope all code friends will not hesitate to comment

Mar.05,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3f88c-44832.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3f88c-44832.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?