예제 #1
0
 public object Deserialize(Stream stream)
 {
     return(DataContractActorSerializer.DeSerialize(stream));
 }
예제 #2
0
        public void Serialize(object data, ActorTag tag, Stream stream)
        {
            DataContractObject dco = new DataContractObject(data, tag);

            DataContractActorSerializer.Serialize(dco, stream);
        }