Logo Search packages:      
Sourcecode: zlib version File versions

DotZLib::Deflater::Deflater ( CompressLevel  level  )  [inline]

Constructs an new instance of the Deflater.

level The compression level to use for this Deflater

Definition at line 38 of file Deflater.cs.

References DotZLib::CodecBase::_ztream, and DotZLib::CodecBase::resetOutput().

                                                 : base()
            int retval = deflateInit_(ref _ztream, (int)level, Info.Version, Marshal.SizeOf(_ztream));
            if (retval != 0)
                throw new ZLibException(retval, "Could not initialize deflater");


Generated by  Doxygen 1.6.0   Back to index