Akka.Serialization.ByteArraySerializer.ToBinary C# (CSharp) Метод

ToBinary() публичный Метод

Serializes the given object into a byte array
public ToBinary ( object obj ) : byte[]
obj object The object to serialize
Результат byte[]
        public override byte[] ToBinary(object obj)
        {
            if (obj == null)
                return null;
            if (obj is byte[])
                return (byte[]) obj;
            throw new NotSupportedException();
        }