zen wrote:
How could I create a nsIInputStream with char* data stream? and with the use of nsIStringAPI ?
I think I replied to this already somewhere, but can't find the post right now... Anyway, you need Gecko 1.9 to use nsIStringInputStream with nsStringAPI; however, you can of course implement an own input stream in the meantime. That shouldn't be too hard for a constant string buffer.
Alternatively, you can probably use a storage stream for this. _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
