{ if (FBTrace.DBG_ERRORS) 														/*@explore*/ FBTrace.dumpProperties("lib.readFromStream FAILS", exc);					/*@explore*/ } 
{ if (FBTrace.DBG_ERRORS) 														/*@explore*/ FBTrace.dumpProperties("lib.readFromStream FAILS", exc);					/*@explore*/ } 
this.readFromStream = function(stream, charset){	try    {    	var sis = this.CCSV("@mozilla.org/binaryinputstream;1", "nsIBinaryInputStream");        sis.setInputStream(stream);        var segments = [];        for (var count = stream.available(); count; count = stream.available())        	segments.push(sis.readBytes(count));        sis.close();		var text = segments.join("");        return this.convertToUnicode(text, charset);     }     catch(exc) 	 { 	 	if (FBTrace.DBG_ERRORS) 														/*@explore*/			FBTrace.dumpProperties("lib.readFromStream FAILS", exc);					/*@explore*/ 	 }};
2454	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2454/4430f0c18a86cfa77637c382657dd43348a627ce/lib.js/buggy/extension/content/firebug/lib.js