On Feb 14, 2010, at 17:23 , SyRenity wrote:
Actually, answering myself it seems to be as simple as: sData.assign(buffer, size); //Where size is the full buffer size
Yes, that works. See the following for more help: http://www.sgi.com/tech/stl/basic_string.html Evan -- Evan Jones http://evanjones.ca/ -- 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.
