I am sorry, could you clarify this? With destroy you mean call the delete operator? The changes:
boost::asio::streambuf b; std::ostream os(&b); ZeroCopyOutputStream *raw_output = new OstreamOutputStream(&os); CodedOutputStream *coded_output = new CodedOutputStream(raw_output); coded_output->WriteLittleEndian32(name.ByteSize()); name.SerializeToCodedStream(coded_output); delete coded_output; delete raw_output; socket.send(b); --- This changes nothing, sadly. -- 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.
