[protobuf] Deserialization problem with protobuf-net

2014-09-12 Thread Antonio Ramos
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 wich contains two proto messages. I´m trying deserializate those messages. I can deserializate the first one perfectly. But when i try to deserializate

[protobuf] Proto-net Deserialization exception

2014-09-12 Thread Antonio Ramos
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

Re: [protobuf] Deserialization problem with protobuf-net

2014-09-12 Thread Antonio Ramos
Gravell marc.grav...@gmail.com escribió: Also; don't swallow exceptions. In fact, if you can't do anything useful, don't even try/catch - just let it explode. Marc On 12 September 2014 10:44, Antonio Ramos ninira...@gmail.com wrote: Hi all, this is my first time with protobuf protocol

Re: [protobuf] Proto-net Deserialization exception

2014-09-12 Thread Antonio Ramos
buffer.Length) Thirdly: how was the data serialized? Did it use the WithLengthPrefix and the same PrefixStyle? Marc (protobuf-net) -- Antonio Ramos Recoder. http://antonioramosfotografia.es -- You received this message because you are subscribed to the Google Groups Protocol Buffers group