Marek Lewczuk wrote:var inputStream = Components.classes["@mozilla.org/io/string-input-stream;1"].createInstance(Components.interfaces.nsIStringInputStream);It sounds like you should be using nsIBinaryOutputStream instead. Try this code:
inputStream.setData(this.text, -1);
Wouldn't it be better to change nsIStringInputStream::setData to be sorta scriptable, say by making it take AUTF8String? (it is not frozen)
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom
