You can use protoc --decode_raw to decode it. It will give you a probable decoding of the message -- some specifics can't be known from the encoding alone (e.g. string vs submessage, various types of ints, etc are confusable).
You could implement this same functionality using the libraries (protoc does it, so there must be a way!) but... it seems like it'd be easier to create a proto file based on the sample for you to use and work with that. On Wed, Feb 5, 2014 at 9:49 PM, Vijay Miriyala <[email protected]> wrote: > I am new to ProtoBuff file formats. I received a zip file which contains .pb > file. I do not have .proto file. Is there a way to read the contents of the > .pbp file in Java using the libraries? > > Thank you > > -- > 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 http://groups.google.com/group/protobuf. > For more options, visit https://groups.google.com/groups/opt_out. -- 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 http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/groups/opt_out.
