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