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.

nsIObjectInputStream

IID:6c248606-4eae-46fa-9df0-ba58502368eb
Inherits From:nsIBinaryInputStream

Methods

[notxpcom] charPtr* getBuffer ( PRUint32 length , PRUint32 alignMask ) [notxpcom] void putBuffer ( charPtr* buffer , PRUint32 length ) [notxpcom] nsresult readID ( out nsID ID ) nsISupports readObject ( PRBool isStrongRef )

[notxpcom] charPtr* getBuffer ( PRUint32 length , PRUint32 alignMask )

Optimized deserialization support -- see nsIStreamBufferAccess.idl.

Arguments:
length
alignMask

[notxpcom] void putBuffer ( charPtr* buffer , PRUint32 length )

Arguments:
buffer
length

[notxpcom] nsresult readID ( out nsID ID )

Arguments:
ID

nsISupports readObject ( PRBool isStrongRef )

Read an object from this stream to satisfy a strong or weak reference to one of its interfaces. If the interface was not along the primary inheritance chain ending in the "root" or XPCOM-identity nsISupports, readObject will QueryInterface from the deserialized object root to the correct interface, which was specified when the object was serialized.

Arguments:
isStrongRef

References

This interface is the type of the following properties:

nsIFastLoadService.inputStream

This interface is passed as an argument to the following methods:

nsIFastLoadService.readFastLoadPtr, nsISerializable.read

This interface is returned from the following methods:

nsIFastLoadService.newInputStream

Reference documentation is generated from Mozilla's source.