[protobuf] Re: Python newline \r\n problems

2021-10-08 Thread Matthew Walker
More investigation. Its definitely \r\n that causes this, or specifically the hexadecimal 0d 0a. Whenever this is received in this combination the ParseFromString falls over. Any ideas? I've got no print statements in the C that is sending this binary over USB, and these are received mid

[protobuf] Re: CPP serialize always return empty string and cached size is 0 but i can get data

2021-10-08 Thread Thomas Colin
here are some screenshots code : [image: Untitled.png] breakpoint info : [image: Untitled3.png] [image: Untitled2.png] Le vendredi 8 octobre 2021 à 11:49:35 UTC+2, Thomas Colin a écrit : > Hello I've got some troubles because when I build a message and try to > serialize it, the func

[protobuf] CPP serialize always return empty string and cached size is 0 but i can get data

2021-10-08 Thread Thomas Colin
Hello I've got some troubles because when I build a message and try to serialize it, the func serializeToString return true but the string is empty and if I get the mutables values of my message it gives me the good values some ideas ? btw i'm using protobuf 3.15.8 -- You received this