protobuf-net
How to deal with null values when serializing arrays with protobuf-net?
The following statement fails with NullRef开发者_运维技巧erenceException: TypeModel.Create().DeepClone(new string[1]);[详细]
2023-04-02 21:34 分类:问答ProtoBuf type casting problem
I use ProtoBuf to serialize class which is create开发者_运维技巧d at runtime using Activator.CreateInstance.[详细]
2023-04-02 16:23 分类:问答Dealing with hex values in C/C++
I receive values using winsock from another computer on the network. It is a TCP socket, with the 4 first bytes of the message carrying its size. The rest of the message is formatted by the server usi[详细]
2023-03-31 04:57 分类:问答Understanding ProtoBuf-Net AsReference with recursive referencing
I am trying out the AsReference option in ProtoMember for recursive referencing. If I create AnOwner with the public constructor and then serialize/deserialize, AnOwner.Data becomes null. Can someone[详细]
2023-03-31 03:17 分类:问答ProtoBuf-net AsReference require public constructor in Activator.CreateInstance?
While working on 2 of my classes that looks like this (minimal) using System; using System.Collections.Generic;[详细]
2023-03-31 01:54 分类:问答protobuf-net arrays of complex types with inheritance
I have an hierarchy, lets say BaseClass <- DerivedClass I want to serialize a BaseClass[] array with mixed DerivedClass and BaseClass objects[详细]
2023-03-28 17:19 分类:问答How to embed type information for de-/serialization purposes using protobuf-net?
I\'d like to be able to serialize concrete instances of IMessage in such a way that the type information is retained/embedded (akin to what\'s available in e.g. Json.NET), so that upon deserialization[详细]
2023-03-28 16:07 分类:问答Can I serialize arbitrary types with protobuf-net?
I\'m trying to serialize some objects with pr开发者_StackOverflow中文版otobuf-net, but unfortunately they make liberal use of DateTimeOffset, which is not yet supported by protobuf-net.This leads to l[详细]
2023-03-28 07:23 分类:问答protobuf-net: bcl.DateTime to xs:dateTime?
I would like bcl.DateTime elements to be converted to xs:dateTime in XPathDocument This might be related to issue #69[详细]
2023-03-27 05:54 分类:问答Will protobuff-net work with protoc 2.4.1
We have a java backend surfacing proto objects using the google implementation. We now want to use these objects in .net on the clien开发者_开发问答t side and manipulate them. The issue is that we don[详细]
2023-03-25 23:30 分类:问答