NS_ADDREF(*outStr);
    static NS_METHOD Create(nsIBufferInputStream* *inStr,                            nsIBufferOutputStream* *outStr,                            nsISupports* context, nsIStreamListener* listener,                            PRUint32 growBySize, PRUint32 maxSize) {        nsAsyncOutputStream* str = new nsAsyncOutputStream();        if (str == nsnull)            return NS_ERROR_OUT_OF_MEMORY;        NS_ADDREF(str);        nsresult rv = str->Init(context, listener, growBySize, maxSize);        if (NS_FAILED(rv)) {            NS_RELEASE(str);            return rv;        }        *inStr = str->mInputStream;        NS_ADDREF(*inStr);        *outStr = str;        NS_ADDREF(*outStr);        return NS_OK;    }