Serialize an object to a stream by writing its state using the
specified DataWriter object.
Namespace: Tangosol.IO.PofAssembly: Coherence (in Coherence.dll) Version: 12.1.2.0 (12.1.2.0)
Syntax
C# |
---|
public virtual void Serialize( DataWriter writer, Object o ) |
Parameters
- writer
- Type: Tangosol.IO..::..DataWriter
The DataWriter with which to write the object's state.
- o
- Type: System..::..Object
The object to serialize.
Implements
ISerializer..::..Serialize(DataWriter, Object)Exceptions
Exception | Condition |
---|---|
System.IO..::..IOException | If an I/O error occurs. |