[protobuf] Re: Problem with C++ -writing multiple messages with a repeated field to a file

2011-05-16 Thread Nigel Pickard
Thanks Evan, I'll give this a try. I have actually got the code working, but it involves creating a new output stream everytime I write to it (surely got to be wasteful and not the right way?). Nigel On May 13, 11:50 am, Evan Jones ev...@mit.edu wrote: On May 13, 2011, at 10:12 , Nigel Pickard

Re: [protobuf] Re: Problem with C++ -writing multiple messages with a repeated field to a file

2011-05-16 Thread Evan Jones
On May 16, 2011, at 9:45 , Nigel Pickard wrote: I have actually got the code working, but it involves creating a new output stream everytime I write to it (surely got to be wasteful and not the right way?). Definitely not needed, and it will be more efficient if you can re-use a single