Exemple #1
0
 internal static ZLibReturnCode InflateInit(ZStream stream, ZLibOpenType windowBits)
 {
     return(InflateInit2(stream, windowBits, ZLIB_VERSION, Marshal.SizeOf(typeof(ZStream))));
 }
Exemple #2
0
 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))));
 }
Exemple #3
0
 internal static extern ZLibReturnCode Inflate(ZStream strm, ZLibFlush flush);
Exemple #4
0
 internal static extern ZLibReturnCode InflateEnd(ZStream strm);
Exemple #5
0
 internal static extern ZLibReturnCode InflateInit2(ZStream strm, ZLibOpenType windowBits, [MarshalAs(UnmanagedType.LPStr)] string version, int stream_size);