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