I would highly recommend looking at this: http://code.google.com/p/protobuf-wireshark/
Might get you want you need. -Aaron On Tue, Oct 18, 2011 at 11:02 AM, Marc Gravell <marc.grav...@gmail.com> wrote: > Well, firstly protobuf is not a text format, so UTF-8 is not the way to > start. What is it you need? Note that the protobuf format is ambiguous unless > you already know the schema (the same data can be interpreted in different > ways). However, if you read the encoding spec, you should be able to guess > many cases. > > Marc > > On 18 Oct 2011, at 11:03, newbie <choudhury.ana...@gmail.com> wrote: > >> Hi, >> >> I am developing a sniffer that will sniff messages moving between a >> message broker and DWH. The messages are written in "protocol buffers" >> serialization format. So the message body that I sniff is a byte >> string. >> >> How do I decode this message to human readable format? >> >> The sniffer is developed in c# .net . >> >> I tried using System.Text.Encoding.UTF8.GetString(body) , but extra >> character gets added maybe because UTF8 doesn't identify this format. >> >> >> Thanks. >> >> -- >> 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 >> protobuf+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/protobuf?hl=en. >> > > -- > 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 > protobuf+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > > -- 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 protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.