Esempio n. 1
0
 public void SerializeTo(object obj, MemoryStream stream)
 {
     ProtobufHelper.ToStream(obj, stream);
 }
Esempio n. 2
0
 public object DeserializeFrom(object instance, MemoryStream stream)
 {
     return(ProtobufHelper.FromStream(instance, stream));
 }