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

Namespace:  Akka.Cluster.Sharding.Serialization
Assembly:  Akka.Cluster.Sharding (in Akka.Cluster.Sharding.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 specified obj is of an unknown type.
See Also