Compare Revisions

Components.isSuccessCode

Revision 44929:

Revision 44929 by michal.novotny on

Revision 44930:

Revision 44930 by michal.novotny on

Title:
Components.isSuccessCode
Components.isSuccessCode
Slug:
Components.isSuccessCode
Components.isSuccessCode
Tags:
XPCOM, XPConnect, "XPCOM:Language Bindings"
XPCOM, XPConnect, "XPCOM:Language Bindings"
Content:

Revision 44929
Revision 44930
t61      The following example demonstrates copying data from a bufft61      The following example demonstrates copying data from a buff
>ered <a href="/en/nsIInputStream" title="en/nsIInputStream">nsIIn>ered <a href="/en/nsIInputStream" title="en/nsIInputStream">nsIIn
>putStream</a> to an <a href="/en/nsIOutputStream" title="en/nsIOu>putStream</a> to an <a href="/en/nsIOutputStream" title="en/nsIOu
>tputStream">nsIOutputStream</a>, checking for whether the copy su>tputStream">nsIOutputStream</a>, checking for whether the copy su
>cceeded using <code>Components.isSuccessCode()</code>:>cceeded using <code>Components.isSuccessCode(). Note that method 
 ><a href="/en/nsIAsyncStreamCopier" title="en/nsIAsyncStreamCopier
 >">nsIAsyncStreamCopier</a>.init() has changed in Mozilla 1.9.2, o
 >mit last 2 boolean parameters if you're using Mozilla 1.9.1 and e
 >arlier</code>.

Back to History