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