I'll try to implement a simple tool to decompile messages, if I succeed, I
post the solution here.
Thank you

On Thu, Oct 8, 2009 at 4:02 PM, Henner Zeller <h.zel...@acm.org> wrote:

> Hi,
> On Thu, Oct 8, 2009 at 11:51, Kenton Varda <ken...@google.com> wrote:
> > Hmm, that's true.  Although I'm not sure if there's actual code for
> writing
> > the .proto file in Java.  In C++, descriptors have a DebugString() method
> > which returns a compilable .proto file.
> So it would be a matter of either re-implementing the DebugString in
> Java or dumping out the descriptor from the Java code (after all, it
> is just a proto buffer), re-read that and DebugString it.
> (maybe protoc could have a
> 'read-binary-descriptor-and-dump-it-as-protofile' option ;) ).

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to