[protobuf] ruby parse_from_file ?

2014-02-18 Thread Jay Wilson
I created some code that puts 10 GPB messages into a file. When I look at the file with a hex editor all of the messages are in the file. I now want to read the messages back in, processing them 1 at a time. The following produces only the last record in the input file. What am I missing? How

Re: [protobuf] ruby parse_from_file ?

2014-02-18 Thread Ilia Mirkin
On Sun, Feb 16, 2014 at 11:09 AM, Jay Wilson jawro...@gmail.com wrote: I created some code that puts 10 GPB messages into a file. When I look at the file with a hex editor all of the messages are in the file. I now want to read the messages back in, processing them 1 at a time. The following