Esempio n. 1
0
 public static ZLibNative.ErrorCode CreateZLibStreamForInflate(out ZLibNative.ZLibStreamHandle zLibStreamHandle, int windowBits)
 {
     zLibStreamHandle = new ZLibNative.ZLibStreamHandle();
     return(zLibStreamHandle.InflateInit2_(windowBits));
 }
Esempio n. 2
0
 public static ZLibNative.ErrorCode CreateZLibStreamForDeflate(out ZLibNative.ZLibStreamHandle zLibStreamHandle, ZLibNative.CompressionLevel level, int windowBits, int memLevel, ZLibNative.CompressionStrategy strategy)
 {
     zLibStreamHandle = new ZLibNative.ZLibStreamHandle();
     return(zLibStreamHandle.DeflateInit2_(level, windowBits, memLevel, strategy));
 }
Esempio n. 3
0
 public static ZLibNative.ErrorCode CreateZLibStreamForInflate(out ZLibNative.ZLibStreamHandle zLibStreamHandle)
 {
     return(ZLibNative.CreateZLibStreamForInflate(out zLibStreamHandle, -15));
 }
Esempio n. 4
0
 public static ZLibNative.ErrorCode CreateZLibStreamForDeflate(out ZLibNative.ZLibStreamHandle zLibStreamHandle)
 {
     return(ZLibNative.CreateZLibStreamForDeflate(out zLibStreamHandle, ZLibNative.CompressionLevel.DefaultCompression, -15, 8, ZLibNative.CompressionStrategy.DefaultStrategy));
 }