Actually, answering myself it seems to be as simple as:
sData.assign(buffer, size); //Where size is the full buffer size

Is this correct?

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to