SerializationUtils.Serialize Method
- Namespace:
- Weavy.Core.Utils
- Assembly:
- Weavy.Core.dll
Serialize(object)
Serializes an object, or graph of connected objects, to a byte array.
Uses the BinaryFormatter.
public static byte[] Serialize(this object graph)
Parameters
- graph
- object
The object that contains the data to serialize.
Returns
System.Byte[]
An byte array representation of the graph.