我想确定要反序列化的文件是否是 protobuf 序列化的。这是因为我想提供多个选项来为用户序列化和反序列化文件。我正在使用 protobuf.net 序列化为 protobuf 格式。
protobuf-net
protobuf-net ×1