WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIBufferedOutputStream

IID:6476378a-da09-11d3-8cda-0060b0fc14a3
Inherits From:nsIOutputStream

This interface is intended to be used as an instance. To create an object implementing this interface:

var obj = Components.classes["@mozilla.org/network/buffered-output-stream;1"].
            createInstance(Components.interfaces.nsIBufferedOutputStream);

This interface is implemented by the following components:


Methods

void init ( nsIOutputStream sinkToStream , PRUint32 bufferSize )

void init ( nsIOutputStream sinkToStream , PRUint32 bufferSize )

Arguments:
sinkToStream: - add buffering to this stream
bufferSize: - specifies the maximum buffer size

Reference documentation is generated from Mozilla's source.