protobuf-net
Is it possible to create a protobuf-net serialization assembly for Silverlight and .NET?
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[详细]
2023-03-15 20:16 分类:问答protobuf-net deserialize base class to inherited class
I have base class which is serialized. [ProtoContract] public class Web2PdfEntity { [ProtoMember(1)] public string Title { get; set; }[详细]
2023-03-15 17:39 分类:问答How should i be using Booksleeve with protobuf-net?
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?[详细]
2023-03-15 03:53 分类:问答Why string interning on serialization in protobuf-net does not work in this example? [closed]
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[详细]
2023-03-15 03:37 分类:问答protocol buffer message to and from an XPathDocument
I am trying to serialize and deserialize a protocol buffer message to and from an XPathDocument but it fails with an exception:[详细]
2023-03-14 23:32 分类:问答how do I enable string interning in protobuf-net?
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[详细]
2023-03-14 21:59 分类:问答how to add optional field to a class manually in protobuf-net
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 :).[详细]
2023-03-13 14:27 分类:问答protobuf-net equivalent for the StreamingContext
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开发[详细]
2023-03-13 11:13 分类:问答How to serialize a non List<T> collection in protobuf-net?
Observe the following code: [ProtoContract] public class C { [ProtoMember(1)] public IList<string> Tags { get; set; }[详细]
2023-03-13 02:53 分类:问答Google Protocol Buffers Serialization hangs writing 1GB+ data
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[详细]
2023-03-12 23:26 分类:问答