Hello,
I am new to protobuf.
I have a request message like that
message CommandRequest
{
enum Code
{
RESET = 0;
ERASE_APP = 2;
ERASE_OTA = 3;
}
Code code = 1;
}
When I am trying to encode a request with zero value, i see that encoded
size is zero.
Hi; default values *are not sent*, especially in proto3 where zero is
default and default is zero. Likewise, the root object in a message is not
wrapped in any way - only fields *on* the root object.
This means that the binary encoding of a CommandRequest with Code.RESET is:
zero bytes, which is
Hi,
I'm trying out Protocol buffers and would be interested in learning
what kind of tooling more experienced Protobuf users are using
to generate code for multiple languages (Java, Python, C++),
compiling language bindings and publishing the bindings in an artifact
repository.
thanks!
marko