Re: [protobuf] Re: [protobuf-net] Unknow wire-type 7 when serializing List data structure

2020-07-27 Thread Marc Gravell
Hi; it is pretty hard to comment without code. Do you have a minimal repro that shows what you're seeing? The fact that you mention Encoding suggests that you're treating protobuf data as though it were text, which is never a good idea. Also, since this is library specific, you may wish to

Re: [protobuf] Re: [protobuf-net] Unknow wire-type 7 when serializing List data structure

2020-07-27 Thread nirav patel
Hello Marc, Thanks for providing protobuf-net to community. I am facing same error message with Protobuf-net version 3.0.29. Error message is "Invalid wire-type (Varint); this usually means you have over-written a file without truncating or setting the length" I thought main reason is

Re: [protobuf] Re: [protobuf-net] Unknow wire-type 7 when serializing List data structure

2009-12-22 Thread Marc Gravell
Really, it is whatever is enough to show the problem. For example, the following doesn't (for me) show any issues. You might also want to clarify your setup - could it be some x64/ia64 related bug, for example? (I'm testing on x86, Win7): using System.Collections.Generic; using

Re: [protobuf] Re: [protobuf-net] Unknow wire-type 7 when serializing List data structure

2009-12-19 Thread Marc Gravell
OK; I'll re-check with the Net20 variant... 2009/12/19 jeevankodali jeevankod...@gmail.com Thanks for the reply. I used r278 and Net20 folder in that zip file. On Dec 18, 2:36 pm, Marc Gravell marc.grav...@gmail.com wrote: Hmmm... that should work fine; there *was* a related bug in an early