SerializationExtensions.Deserialize Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Overloads

Deserialize(Byte[]) Deserializes the specified byte array into an object graph.
Deserialize(Byte[]) Deserializes the specified byte array into an object graph.

Deserialize(Byte[])

Deserializes the specified byte array into an object graph.

Uses the BinaryFormatter.

public static object Deserialize(this byte[] bytes)

Parameters

bytes
System.Byte[]

The serialized object.

Returns

object

Returns an instance of the specified type.

Deserialize(Byte[])

Deserializes the specified byte array into an object graph.

Uses the BinaryFormatter.

public static T Deserialize<T>(this byte[] bytes)

Parameters

bytes
System.Byte[]

The serialized object.

Returns

Returns an instance of the specified type.