Hi, I'd like to make a suggestion:
I think it would be quite convenient to have the writeDelimitedTo also available as a method of Message in C++. As far as I understand now in C++ I can archive the same with calling const int bufLen = 512; unsigned char buffer[bufLen]; google::protobuf::io::ArrayOutputStream arrayOutput(buffer, bufLength); google::protobuf::io::CodedOutputStream codedOutput(&arrayOutput); Message protoMessage; codedOutput.WriteLittleEndian32(protoMessage.ByteSize()); protoMessage.SerializeToCodedStream(&codedOutput); (though I still need to verify if its really the same) But of course, having a method doing that in vanilla protobuf would be a cool addition for C++ and I think it shouldnt be hard to implement or maintain? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
