20 Sep
2008
20 Sep
'08
11:48 a.m.
Hi, I am a newbie and new to boost. In my program there is loop and in this loop it is reading a buffer full of data in each iteration, i want to append this data to a buffer. How can I do this with boost? sample code =========== int l=0; char* buff=new char[1024]; while(1) { //Here it is reading from a gziped buffer l = boost::iostreams::read(in,buff,1024); if(l != 1024) break; //how can I append this buff to a memory buffer thus to get a fully uncompressed data in another buffer?. } Thank you very much, Lloyd ______________________________________ Scanned and protected by Email scanner