Beispiel #1
0
 internal static int inflateReset(ref z_stream strm)
 {
     if (ZLibDll.Is64)
     {
         return(inflateReset_64(ref strm));
     }
     else
     {
         return(inflateReset_32(ref strm));
     }
 }
Beispiel #2
0
 internal static int inflate(ref z_stream strm, ZLibFlush flush)
 {
     if (ZLibDll.Is64)
     {
         return(inflate_64(ref strm, flush));
     }
     else
     {
         return(inflate_32(ref strm, flush));
     }
 }
Beispiel #3
0
 internal static int inflateInit(ref z_stream strm, ZLibOpenType windowBits)
 {
     if (ZLibDll.Is64)
     {
         return(inflateInit2_64(ref strm, (int)windowBits, ZLib.ZLibVersion, Marshal.SizeOf(typeof(z_stream))));
     }
     else
     {
         return(inflateInit2_32(ref strm, (int)windowBits, ZLib.ZLibVersion, Marshal.SizeOf(typeof(z_stream))));
     }
 }
Beispiel #4
0
 internal static int deflateEnd(ref z_stream strm)
 {
     if (ZLibDll.Is64)
     {
         return(deflateEnd_64(ref strm));
     }
     else
     {
         return(deflateEnd_32(ref strm));
     }
 }
Beispiel #5
0
 internal static int deflate(ref z_stream strm, ZLibFlush flush)
 {
     if (Is64)
     {
         return(deflate_64(ref strm, flush));
     }
     else
     {
         return(deflate_32(ref strm, flush));
     }
 }
Beispiel #6
0
 internal static int inflateEnd(ref z_stream strm)
 {
     if (Is64)
     {
         return(inflateEnd_64(ref strm));
     }
     else
     {
         return(inflateEnd_32(ref strm));
     }
 }
Beispiel #7
0
 internal static int deflateInit(ref z_stream strm, CompressionLevel level, ZLibWriteType windowBits)
 {
     if (ZLibDll.Is64)
     {
         return(deflateInit2_64(ref strm, (int)level, Z_DEFLATED, (int)windowBits, DEF_MEM_LEVEL,
                                Z_DEFAULT_STRATEGY, ZLibVersion, Marshal.SizeOf(typeof(z_stream))));
     }
     else
     {
         return(deflateInit2_32(ref strm, (int)level, Z_DEFLATED, (int)windowBits, DEF_MEM_LEVEL,
                                Z_DEFAULT_STRATEGY, ZLibVersion, Marshal.SizeOf(typeof(z_stream))));
     }
 }
Beispiel #8
0
 static extern int inflate_64(ref z_stream strm, ZLibFlush flush);
Beispiel #9
0
 static extern int deflateInit2_64(ref z_stream strm, int level, int method, int windowBits,
                                   int memLevel, int strategy, string version, int stream_size);
Beispiel #10
0
 static extern int inflateInit2_64(ref z_stream strm, int windowBits, string version, int stream_size);
Beispiel #11
0
 static extern int deflateEnd_64(ref z_stream strm);
Beispiel #12
0
 static extern int inflateEnd_32(ref z_stream strm);
Beispiel #13
0
 static extern int deflate_32(ref z_stream strm, ZLibFlush flush);
Beispiel #14
0
 static extern int inflateReset_64(ref z_stream strm);
Beispiel #15
0
 static extern int deflateReset_32(ref z_stream strm);