SerializationExtensions.Serialize Method

Namespace:
Weavy.Core.Helpers
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
System.Object

Returns

System.Byte[]

An byte array representation of the graph.