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.

@mozilla.org/binaryoutputstream;1

This component implements the following interfaces:

Methods

InterfaceMethod
nsIOutputStream void close ( )
nsIOutputStream void flush ( )
nsIOutputStream PRBool isNonBlocking ( )
nsIBinaryOutputStream void setOutputStream ( nsIOutputStream outputStream )
nsIOutputStream PRUint32 write ( char* buf , PRUint32 count )
nsIBinaryOutputStream void write16 ( PRUint16 a16 )
nsIBinaryOutputStream void write32 ( PRUint32 a32 )
nsIBinaryOutputStream void write64 ( PRUint64 a64 )
nsIBinaryOutputStream void write8 ( PRUint8 byte )
nsIBinaryOutputStream void writeBoolean ( PRBool boolean )
nsIBinaryOutputStream void writeByteArray ( arrayof PRUint8 bytes , PRUint32 length )
nsIBinaryOutputStream void writeBytes ( char* string , PRUint32 length )
nsIBinaryOutputStream void writeDouble ( double double )
nsIBinaryOutputStream void writeFloat ( float float )
nsIOutputStream PRUint32 writeFrom ( nsIInputStream fromStream , PRUint32 count )
nsIOutputStream [noscript] PRUint32 writeSegments ( nsReadSegmentFun reader , voidPtr* closure , PRUint32 count )
nsIBinaryOutputStream void writeStringZ ( char* string )
nsIBinaryOutputStream void writeUtf8Z ( PRUnichar* string )
nsIBinaryOutputStream void writeWStringZ ( PRUnichar* string )

Reference documentation is generated from Mozilla's source.