Click or drag to resize
Akka.NETMessageSerializerFromBinary Method (Byte, Type)
Deserializes a byte array into an object of type type.

Namespace:  Akka.Persistence.Serialization
Assembly:  Akka.Persistence (in Akka.Persistence.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public override Object FromBinary(
	byte[] bytes,
	Type type
)

Parameters

bytes
Type: SystemByte
The array containing the serialized object
type
Type: SystemType
The type of object contained in the array

Return Value

Type: Object
The object contained in the array
Exceptions
ExceptionCondition
ArgumentException This exception is thrown when the MessageSerializer cannot deserialize the specified type. The specified type must be of one of the following types: IPersistentRepresentation | AtomicWrite | AtLeastOnceDeliverySnapshot.
See Also