User:Brahmana/Streams in mozilla

From MozillaWiki
< User:Brahmana
Revision as of 12:16, 3 September 2009 by Brahmana (talk | contribs) (Created the page and listed the interfaces.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Streams are one of the things that are pretty confusing to me in the Mozilla/XPCOM code base. Today it happened again. So I set down to demystify this stream mystery.

As a starter I listed the variety of stream related interfaces. I have listed only the input streams. For most items listed here there is a output stream counterpart.

  • nsIInputStream
  • nsIAsyncInputStream
  • nsIBinaryInputStream
  • nsIConverterInputStream
  • nsIInputStreamTee
  • nsILineInputStream
  • nsIMultiplexInputStream
  • nsIObjectInputStream
  • nsIScriptableInputStream
  • nsISeekableStream
  • nsIStorageStream
  • nsIStringStream
  • nsIUnicharInputStream
  • nsIUnicharLineInputStream
  • nsIBufferedInputStream
  • nsIFileInputStream
  • nsIMIMEInputStream
  • nsIPluginInputStream
  • imgIEncoder