I wonder if there is 开发者_运维百科a tool like sgen for protobuf-net...I haven\'t finished the tooling in that area, but note that RuntimeTypeModel has a Compile() method that takes a path and type n
I have base class which is serialized. [ProtoContract] public class Web2PdfEntity { [ProtoMember(1)] public string Title { get; set; }
I use the RedisConnection Set method to set the byte array but how do i get the data? The get returns a wrapped byte array?
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not generally applic
I am trying to serialize and deserialize a protocol buffer message to and from an XPathDocument but it fails with an exception:
I am using v2 re开发者_JAVA百科v 421. When I saved the stream produced by protobuf-net and put it through the strings utility, it discovered many duplicate strings. I am talking about the strings prod
In my .proto I have some messages that have optional fields. There is no native protogen for Debian so I don\'t have one to experiment with (too lazy to compile it myself :).
I\'m translating some code from the DataContractSerializer to the impressive protobuf-net serializer, and one thing that I\'m really missing is the StreamingContext passed through to my OnDeseriali开发
Observe the following code: [ProtoContract] public class C { [ProtoMember(1)] public IList<string> Tags { get; set; }
I am serializing a large data set using protocol buff开发者_C百科er serialization. When my data set contains 400000 custom objects of combined size around 1 GB, serialization returns in 3~4 seconds. B