Files
rdkit/Code/RDStreams/streams.cpp
2019-05-08 17:33:17 +02:00

12 lines
299 B
C++

#include "streams.h"
#ifdef RDK_USE_BOOST_IOSTREAMS
namespace RDKit {
gzstream::gzstream(const std::string &fname)
: boost::iostreams::filtering_istream(),
is(fname.c_str(), std::ios_base::binary) {
push(boost::iostreams::gzip_decompressor());
push(is);
}
} // namespace RDKit
#endif