[protobuf] PB Buffer Error Can't Parse Message with 3 String Fields in Sequence

2013-04-16 Thread brsckap
I get the following error when I declare 3 string fields in a sequence in my protocol buffer input message: libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type tst.pb.testInput because it is missing required fields: strThree Sample message: package tst.pb.Test;

Re: [protobuf] PB Buffer Error Can't Parse Message with 3 String Fields in Sequence

2013-04-16 Thread Oliver Jowett
On Tue, Apr 16, 2013 at 4:43 PM, brsckap ped...@brsc.com wrote: std::ifstream inputStream; inputStream.open(pbInput); Text-mode open is corrupting your encoded message, probably. Oliver -- You received this message because you are subscribed to the Google Groups Protocol Buffers