Is there a way to do this? I would like to know how many bytes were read from a NetworkStream when I call DeserializeWithLengthPrefix. Since NetworkStream does not support the Position property I cann
I have some fairly simple code using Protobuf.net, which is throwing a very odd exception. In MetaType.cs on line 167 it throws a InvalidOperationException \"The type cannot be changed once a serializ
I switched to work on another computer, I installed visual C# express and protoBuf-net, and then开发者_StackOverflow社区 I copied the source of the project to the other computer.
I am trying to understand protobuf-net\'s Dictionary/KeyValuePair support. We would like to use the underlying binary stream and the generated proto file from java, but the generated .proto file conta
I\'m encountering this Exception in my project using Protobuf.net: InvalidOperationException \"Unexpected sub-type: foo\"
Have mapped table from sql database to linq in Employee dbml file. [global::System.Runtime.Serialization.DataContractAttribute()]
I have a java backend that sends messages using protobuf, it sends delimited message objects in one big byte array blob over tib. I can deserialize them fine using the function parseDelimitedFrom(your
I am prototyping Protobuf-net to replace some of our existing C# code which is currently using [Datacontract] to Serialize objects to Xml.
I am using protobuf-net r282 and when I call Serialize I get the InvalidOperationException error message \"Only data-contract classes (and lists/arrays of such) can be processed (error processing Obje
Is there a preferred method for serializing Guids in protobuf-net? It doesn\'t s开发者_运维技巧eem to be a supported type?Apologies for the delay - holiday etc. In protobuf-net, Guid should work fine