>From the command line, you can do:
  protoc --decode_raw < data_file

This will give you as much information as can be determined without a type
definition, to give you an idea of what's there.  In C++, you can use the
UnknownFieldSet class to parse and inspect a message of unknown type.

On Wed, Oct 22, 2008 at 10:32 PM, <[EMAIL PROTECTED]> wrote:

>
> I'm trying to consume data from an app that generates output
> serialized via Protocol Buffers but do not have the original spec for
> the specific structures that have been encoded. Is there a relatively
> straight-forward path to deserializing, or even just decoding, the
> serialized data stream without knowing its structure in advance?
>
> Hints/pointers of any variety would be welcomed.
>
> Thanks.
>
> APB
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to