Re: [protobuf] Re: Placing byte buffer into string

2010-02-14 Thread Evan Jones
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

[protobuf] Re: Placing byte buffer into string

2010-02-14 Thread SyRenity
Thanks. On Feb 15, 12:25 am, Evan Jones ev...@mit.edu wrote: 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: