We have rest api call in cpp where we get the proto response from URI.
response is in the binary format in QByteArray. We have been passing same
response in QByteArray as it is to parse using parse function in cpp. but
it is not parsed successfully.
Response is:
4
I am comparing ecoding a message that has two field where each field is a
64 bit ints (value ULLONG_MAX) versus encoding a message with two fields
where each field is a message that contains a 64 bit int.
I think that I undertand the encoding of the message that has two field
where each field
Never mind. Looking over the documentation again, I see that the embedded
messages are treated as length delimited fields. So 0xa (001010) before
the 1st varint says the next field is a length delimited field with a tag
of 1, and that's followed by the length of the message. This all makes
I would like to do the follwing:
foo_primtives.proto:
package foo_primitives;
messaage bar {
// some fields;
};
message baz {
// some fields;
}
foo_composed_types.proto:
import foo_primtives.proto;
package foo_composed;
message foo_complicated {
optional foo_primitves::bar
I think you want foo_primitives.bar ... going from memory though.
On Fri, Nov 7, 2014 at 7:19 PM, Michael Wagner mikepwag...@gmail.com wrote:
I would like to do the follwing:
foo_primtives.proto:
package foo_primitives;
messaage bar {
// some fields;
};
message baz {
// some
Your memoy is very good - or at least good enough.:-)
That's exaclty what I needed.
Mike
--
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
to