Click or drag to resize
Akka.NETMessageSerializerToBinary Method
Serializes the given object into a byte array

Namespace:  Akka.Persistence.Serialization
Assembly:  Akka.Persistence (in Akka.Persistence.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public override byte[] ToBinary(
	Object obj
)

Parameters

obj
Type: SystemObject
The object to serialize

Return Value

Type: Byte
A byte array containing the serialized object
Exceptions
ExceptionCondition
ArgumentException This exception is thrown when the MessageSerializer cannot serialize the specified obj. The specified obj must be of one of the following types: IPersistentRepresentation | AtomicWrite | AtLeastOnceDeliverySnapshot.
See Also