
11 Nov
2010
11 Nov
'10
2:07 a.m.
Thanks for your reply, Brian. I think I have to study your code for a little while. Nevertheless, I had tried out a solution by accident. See below, typedef io::composite<io::gzip_decompressor, io::filtering_istream> array_gzip_decompressor; io::gzip_decompressor filter; io::filtering_istream source(boost::make_iterator_range(buf)); array_gzip_decompressor dev(filter, source); io::stream<array_gzip_decompressor> in(dev); Above code came from http://lists.boost.org/Archives/boost/2010/02/162214.php Regards, chenwj -- Wei-Jen Chen (陳韋任) Programming Language and System Laboratory (EC131) Department of Computer Science, National Chiao Tung University