internal static ZLibReturnCode InflateInit(ZStream stream, ZLibOpenType windowBits) { return(InflateInit2(stream, windowBits, ZLIB_VERSION, Marshal.SizeOf(typeof(ZStream)))); }
internal static ZLibReturnCode DeflateInit(ZStream stream, ZLibCompLevel level, ZLibWriteType windowBits) { return(DeflateInit2(stream, level, ZLibCompMethod.DEFLATED, windowBits, DEF_MEM_LEVEL, ZLibCompressionStrategy.DEFAULT_STRATEGY, ZLIB_VERSION, Marshal.SizeOf(typeof(ZStream)))); }
internal static extern ZLibReturnCode Inflate(ZStream strm, ZLibFlush flush);
internal static extern ZLibReturnCode InflateEnd(ZStream strm);
internal static extern ZLibReturnCode InflateInit2(ZStream strm, ZLibOpenType windowBits, [MarshalAs(UnmanagedType.LPStr)] string version, int stream_size);