[protobuf] Re: How to use protoc --decode option?

2011-07-05 Thread Ravi
Hi, I tried that also. I pasted the payload directly in the command prompt when it asked. I got following error. Failed to parse input. Thanks, Ravikumar K On Jul 5, 7:06 pm, Pherl Liu liuj...@google.com wrote: The protoc reads the input from STDIN. If you pass the payload file name as

Re: [protobuf] Re: How to use protoc --decode option?

2011-07-05 Thread Pherl Liu
Can you try: protoc [various options] payload.txt So that the content will be read as STDIN to protoc. On Tue, Jul 5, 2011 at 10:12 PM, Ravi ravikumarkulan...@gmail.com wrote: Hi, I tried that also. I pasted the payload directly in the command prompt when it asked. I got following