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
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to