Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  fileReaderSync_worker.js  Sprache: JAVA


var reader = new FileReaderSync();

/**
 * Expects an object containing a file and an encoding then uses a
 * FileReaderSync to read the file. Returns an object containing the
 * file read a binary string, text, url and ArrayBuffer.
 */

onmessage = function (event) {
  var file = event.data.file;
  var encoding = event.data.encoding;

  var rtnObj = new Object();

  if (encoding != undefined) {
    rtnObj.text = reader.readAsText(file, encoding);
  } else {
    rtnObj.text = reader.readAsText(file);
  }

  rtnObj.bin = reader.readAsBinaryString(file);
  rtnObj.url = reader.readAsDataURL(file);
  rtnObj.arrayBuffer = reader.readAsArrayBuffer(file);

  postMessage(rtnObj);
};

Messung
CHZG
899910096

¤ Dauer der Verarbeitung: 0.183 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,189,091
#Domains=945,596