5 #include "Alignment/Geners/interface/ZlibHandle.hh" 8 ZlibInflateHandle::ZlibInflateHandle()
10 strm_ =
new z_stream_s();
11 strm_->zalloc = Z_NULL;
12 strm_->zfree = Z_NULL;
13 strm_->opaque = Z_NULL;
15 strm_->next_in = Z_NULL;
16 assert(inflateInit(strm_) == Z_OK);
19 ZlibInflateHandle::~ZlibInflateHandle()
25 ZlibDeflateHandle::ZlibDeflateHandle(
const int lev)
28 strm_ =
new z_stream_s();
29 strm_->zalloc = Z_NULL;
30 strm_->zfree = Z_NULL;
31 strm_->opaque = Z_NULL;
33 strm_->next_in = Z_NULL;
34 assert(deflateInit(strm_, lev) == Z_OK);
37 ZlibDeflateHandle::~ZlibDeflateHandle()