【发布时间】:2018-02-13 08:21:15
【问题描述】:
我在我的 .net 应用程序中使用 protobuf-net 2.3.2 来生成缓冲区文件。
public class EmailData
{
public string FirstName{ set; get; }
public string LastName { set; get; }
public Location Location { set; get; }
}
public class Location
{
public string LocaitionName{ set; get; }
public string ZipCode{ set; get; }
}
我想知道是否有任何 api 来比较使用 EmailData 类生成的 2 个缓冲区文件
【问题讨论】:
-
如果不将它们反序列化回对象,我认为这是不可能的......
标签: c# protocol-buffers protobuf-net