User:Brahmana/Streams in mozilla: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created the page and listed the interfaces.)
 
(Created titles. Linked every interface to its idl file on mxr)
 
Line 1: Line 1:
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.
== The 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.
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.  


* nsIInputStream
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.
* nsIAsyncInputStream
 
* nsIBinaryInputStream
== List of Stream Interfaces ==
* nsIConverterInputStream
 
* nsIInputStreamTee
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsIInputStream.idl nsIInputStream]
* nsILineInputStream
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsIAsyncInputStream.idl nsIAsyncInputStream]
* nsIMultiplexInputStream
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsIBinaryInputStream.idl nsIBinaryInputStream]
* nsIObjectInputStream
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsIConverterInputStream.idl nsIConverterInputStream]
* nsIScriptableInputStream
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsIInputStreamTee.idl nsIInputStreamTee]
* nsISeekableStream
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsILineInputStream.idl nsILineInputStream]
* nsIStorageStream
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsIMultiplexInputStream.idl nsIMultiplexInputStream]
* nsIStringStream
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsIObjectInputStream.idl nsIObjectInputStream]
* nsIUnicharInputStream
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsIScriptableInputStream.idl nsIScriptableInputStream]
* nsIUnicharLineInputStream
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsISeekableStream.idl nsISeekableStream]
* nsIBufferedInputStream
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsIStorageStream.idl nsIStorageStream]
* nsIFileInputStream
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsIStringStream.idl nsIStringStream]
* nsIMIMEInputStream
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsIUnicharInputStream.idl nsIUnicharInputStream]
* nsIPluginInputStream
*[http://mxr.mozilla.org/mozilla-central/source/xpcom/io/nsIUnicharLineInputStream.idl nsIUnicharLineInputStream]
* imgIEncoder
*[http://mxr.mozilla.org/mozilla-central/source/netwerk/base/public/nsIBufferedStreams.idl nsIBufferedInputStream]
*[http://mxr.mozilla.org/mozilla-central/source/netwerk/base/public/nsIFileStreams.idl nsIFileInputStream]
*[http://mxr.mozilla.org/mozilla-central/source/netwerk/base/public/nsIMIMEInputStream.idl nsIMIMEInputStream]
*[http://mxr.mozilla.org/mozilla-central/source/modules/plugin/base/public/nsIPluginInputStream.idl nsIPluginInputStream]
*[http://mxr.mozilla.org/mozilla-central/source/modules/libpr0n/public/imgIEncoder.idl imgIEncoder]

Latest revision as of 12:34, 3 September 2009

The Stream Mystery

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.

List of Stream Interfaces