Akka.Serialization.Serializer.ToBinaryWithAddress C# (CSharp) Method

ToBinaryWithAddress() public method

Serializes the given object into a byte array and uses the given address to decorate serialized ActorRef's
public ToBinaryWithAddress ( Akka.Actor.Address address, object obj ) : byte[]
address Akka.Actor.Address The address to use when serializing local ActorRef´s
obj object The object to serialize
return byte[]
        public byte[] ToBinaryWithAddress(Address address, object obj)
        {
            return Serialization.SerializeWithTransport(system, address, () => ToBinary(obj));
        }