Hi all, this is my first time with protobuf protocol and protobuf-net.

I have the following question. I read in a buffer of bytes one response 
which contains two proto messages. I´m trying deserializate those messages.

I can deserializate the first one perfectly. But when i try to 
deserializate de second one i have a deserialization wired exception: 
"Invalid wire-type; this usually means you have over-written a file without 
truncating or setting the length; see 

My code is de following:

            int valo = networkStream.Read(buffer, 0, buffer.Length);
            using (MemoryStream streamR = new MemoryStream(buffer))
                    Command comando = 
                    ChannelInfo chInfo = 
                catch (Exception ex)

What can i do???


You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to