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