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