[protobuf] Is there a pure c protocol buffers port?

2011-07-15 Thread Colin
In my project, I can only use c and any c++ dependence is not allowed. Anyone know any pure c port ? Thanks. -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from

Re: [protobuf] optional vs required

2015-06-09 Thread Colin Deasy
On Tuesday, 9 June 2015 01:27:24 UTC+1, Feng Xiao wrote: On Mon, Jun 8, 2015 at 7:43 AM, Colin Deasy cde...@demonware.net javascript: wrote: Hey, When reading https://developers.google.com/protocol-buffers/docs/proto#simple I see a stark warning indicating that Required is Forever

[protobuf] optional vs required

2015-06-08 Thread Colin Deasy
be avoided. I hope you can clarify if I'm missing some crucial bit of information regarding it's usage. Thanks Colin -- 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

[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

[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, th

[protobuf] Reading FileOptions extension in C++?

2022-09-14 Thread Colin McInnes
I know how to read an option within Message by using GetExtension on the Message, but can I do that for a global option that is not encapsulated within a message? So in C++, how would I read the "my_file_name" option from the proto below? extend google.protobuf.FileOptions { string