A nsIInputStreamTee is a wrapper for an input stream, that when read reads the specified amount of data from its |source| and copies that data to its |sink|. |sink| must be a blocking output stream.
[scriptable, uuid(44e8b2c8-1ecb-4a63-8b23-3e3500c34f32)]
interface nsIInputStreamTee : nsIInputStream
Attributes
attribute
nsIOutputStream
sink
attribute
nsIInputStream
source
Compare to: