I’ve just started putting together a guide on XPCOM streams over at MDN. We already have wonderful guides on strings, hashtables, and arrays. Streams are also really important, but there’s not much documentation on them. So I figured, why not start some?
I’m going to be working with streams a bit over the next few weeks as I convert from SAXXMLReader.parseFromString() to SAXXMLReader.parseAsync(). Apparently, the parseFromString() method is not very nice. So I’m dusting off some old tools and ideas, and I’ll be writing down what I run into that I think others can use.
The XPCOM Stream Guide is right now little more than an outline. My own time is very limited; if anyone else wants to fill in some of the blanks, I’d really appreciate it!