Re: [protobuf] Total bytes limit on coded input stream in C++?

2010-08-04 Thread Evan Jones
On Aug 3, 2010, at 16:44 , Julian González wrote: I used the approach you mentioned and it worked. I just have a problem I am writing 10,000 little messages in a file, first I write the size of the message and then the message as it follows: codedOutput->WriteVarint32(sample.ByteSize()); res

Re: [protobuf] Total bytes limit on coded input stream in C++?

2010-08-03 Thread Evan Jones
On Aug 3, 2010, at 12:46 , Jon Schewe wrote: I know that I could create a new coded input stream for each message, but this seems rather wasteful and slow compared with just resetting a counter. I complained about the same thing a little while ago: http://groups.google.com/group/protobuf/brows