I'm using DebugString() in C++ to pretty print google protobuf messages
read in binary form, and converted using ParseFromIstream().
Its only printing the type name at the top level, and for all levels, its
just printing the type number.
I am using extensions. is that the reason for the refusal to print
typenames for lower levels? For example, the debug output looks like:
type: FOO1234 {
1 {
1 {
1: 1
}
2: "string"
}}
If I create the message from scratch on the stack, usingMutableExtension,
mutable_*, and set_* methods,
and then use DebugString to print the message I get the full type names.
How can I get the message read in binary form to display the typenames in the
debugString output?
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.