I have written a small js component which implements an nsIStreamListener and now I need to know how I should read the stream from within onDataAvailable.
I have looked at nsIInputStream.idl and there I found read() and readSegments() but I don't know if this is what I should use, or how I should use it. p.s. the target files are XML files, not binary. Can anyone here please help me with this? Thanks, Michael _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
