$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [iostreams] Problem with gzip_decompressor
From: é³éä»» (chenwj_at_[hidden])
Date: 2010-11-11 04:07:46
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://listarchives.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