Re: [protobuf] Getting NULL character in string when using SerializeToString

2020-09-02 Thread 'Adam Cozzette' via Protocol Buffers
There is no practical way to avoid having zero bytes in the serialized message. For example, zero-valued integer fields will show up as zero bytes in the serialized message. If you need the serialized form to contain only printable characters, you could try base64-encoding it as an additional step.

[protobuf] Getting NULL character in string when using SerializeToString

2020-09-02 Thread Saurabh Grade
Hi, Using SerializeToString to serialize a protobuf object and getting NULL character in serialized string. What could be the reason of this? How can we avoid NULL characters in serialized string? Please let me know if more details are needed. Thanks in advance. Thanks and Regards, Saurabh Gra

[protobuf] Immediate Need ll System Engineer with Electrical experience ll Columbus, IN.

2020-09-02 Thread Jim alex
Hello Associates, Looking for *System Engineer with Electrical experience With *my client in *Columbus, IN.* *Need consultants with 4 to 6 Years of experience…..* *Job Title : System Engineer with Electrical experience* *Location : **Columbus, IN.* *No. of Positions - 2 * *Rate: $40/hr. o

Re: [protobuf] Protobuf version confusion.

2020-09-02 Thread 'Adam Cozzette' via Protocol Buffers
It looks like you have an enum value named NULL, which conflicts with the NULL macro in C++. I haven't looked into this but it is possible that we added some workaround for this somewhere between 3.6.1 and 3.13.0. There is no reason for your Java and C++ to have the same protobuf version, though, s

[protobuf] Protobuf version confusion.

2020-09-02 Thread Test Last
Hi All I am getting some errors where at a certain amount of data the protobuf.has_scalar_value() will show false. But I am sure that there is indeed more data because I can see it in the response I received from the server. However the server is a Java implementation of Apache Calcite running