Пример #1
0
 internal static ZLibReturnCode InflateInit(ZStream strm, ZLibOpenType windowBits)
 {
     return(InflateInit2(strm, windowBits, ZLIB_VERSION, Marshal.SizeOf(typeof(ZStream))));
 }
Пример #2
0
 internal static ZLibReturnCode DeflateInit(ZStream strm, ZLibCompLevel level, ZLibWriteType windowBits)
 {
     return(DeflateInit2(strm, level, ZLibCompMethod.DEFLATED, windowBits, DEF_MEM_LEVEL,
                         ZLibCompressionStrategy.DEFAULT_STRATEGY, ZLIB_VERSION, Marshal.SizeOf(typeof(ZStream))));
 }