Пример #1
0
 private static T Deserialize(DeserializationContext context) => ProtobufMarshallerFactory.Deserialize <T>(context, RuntimeTypeModel.Default);
Пример #2
0
 private static void Serialize(T value, SerializationContext context) => ProtobufMarshallerFactory.Serialize(value, context, RuntimeTypeModel.Default);