PofStreamWriterWriteRemainder Method |
Namespace: Tangosol.IO.Pof
public virtual void WriteRemainder( Binary properties )
Exception | Condition |
---|---|
InvalidOperationException | If no user type is being written. |
IOException | If an I/O error occurs. |
As part of writing out a user type, this method must be called by the IPofSerializer that is writing out the user type, or the POF stream will be corrupted.
Calling this method terminates the current user type by writing a -1 to the POF stream after the last indexed property. Subsequent calls to the various WriteXYZ methods of this interface will fail after this method is called.