Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Test whether an input stream is buffered. See nsStreamUtils.h documentation for NS_InputStreamIsBuffered for the definition of "buffered" used here and for edge-case behavior.
NS_ERROR_INVALID_POINTER if null is passed in.
Test whether an output stream is buffered. See nsStreamUtils.h documentation for NS_OutputStreamIsBuffered for the definition of "buffered" used here and for edge-case behavior.
NS_ERROR_INVALID_POINTER if null is passed in.
Generated using TypeDoc
nsIIOUtil provdes various xpcom/io-related utility methods.