Did you have any resolution on this? Im having the same issue, it
does not happen with int data types, this problem happens on boolean
data types and enum data types
On Sep 20, 2:51 pm, Michael Videlgauz mich...@videlgauz.com wrote:
I forgot to mention in my previous post that there are int32
Not happening for me.
-- message.proto --
enum Value {
V1 = 0;
V2 = 1;
V3 = 2;
}
message Message {
required Value value = 1;
required int32 integer = 2;
required string text = 3;
}
-- test.cpp --
#include message.pb.h
#include iostream
#include
Thank you for pointing out the fact that encoded message may contain
null character!
I do not think it may be the problem because I am using only
std::string, SerializeToString() and never use string::c_str() to
manipulate with encoded buffers.
0MQ is used as network to transport those encoded
I forgot to mention in my previous post that there are int32 fields in
my messages and I do send messages with 0 value in them. If my problem
was null character then all those messages also were corrupted I
guess?...(and no, those 0-valued int32 fields are not last in the
message)
On Sep 13, 9:48