Back to index

lightning-sunbird  0.9+nobinonly
nsIBufferedStreams.idl
Go to the documentation of this file.
00001 #include "nsIInputStream.idl"
00002 #include "nsIOutputStream.idl"
00003 
00008 [scriptable, uuid(616f5b48-da09-11d3-8cda-0060b0fc14a3)]
00009 interface nsIBufferedInputStream : nsIInputStream
00010 {
00015     void init(in nsIInputStream fillFromStream,
00016               in unsigned long bufferSize);
00017 };
00018 
00024 [scriptable, uuid(6476378a-da09-11d3-8cda-0060b0fc14a3)]
00025 interface nsIBufferedOutputStream : nsIOutputStream
00026 {
00031     void init(in nsIOutputStream sinkToStream,
00032               in unsigned long bufferSize);
00033 };