Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Interop.cs
Go to the documentation of this file.
3
4internal static class Interop
5{
6 internal static class zlib
7 {
8 [DllImport("System.IO.Compression.Native", EntryPoint = "CompressionNative_DeflateInit2_")]
9 internal unsafe static extern ZLibNative.ErrorCode DeflateInit2_(ZLibNative.ZStream* stream, ZLibNative.CompressionLevel level, ZLibNative.CompressionMethod method, int windowBits, int memLevel, ZLibNative.CompressionStrategy strategy);
10
11 [DllImport("System.IO.Compression.Native", EntryPoint = "CompressionNative_Deflate")]
12 internal unsafe static extern ZLibNative.ErrorCode Deflate(ZLibNative.ZStream* stream, ZLibNative.FlushCode flush);
13
14 [DllImport("System.IO.Compression.Native", EntryPoint = "CompressionNative_DeflateEnd")]
15 internal unsafe static extern ZLibNative.ErrorCode DeflateEnd(ZLibNative.ZStream* stream);
16
17 [DllImport("System.IO.Compression.Native", EntryPoint = "CompressionNative_InflateInit2_")]
18 internal unsafe static extern ZLibNative.ErrorCode InflateInit2_(ZLibNative.ZStream* stream, int windowBits);
19
20 [DllImport("System.IO.Compression.Native", EntryPoint = "CompressionNative_Inflate")]
21 internal unsafe static extern ZLibNative.ErrorCode Inflate(ZLibNative.ZStream* stream, ZLibNative.FlushCode flush);
22
23 [DllImport("System.IO.Compression.Native", EntryPoint = "CompressionNative_InflateEnd")]
24 internal unsafe static extern ZLibNative.ErrorCode InflateEnd(ZLibNative.ZStream* stream);
25 }
26}
static unsafe ZLibNative.ErrorCode InflateEnd(ZLibNative.ZStream *stream)
static unsafe ZLibNative.ErrorCode DeflateEnd(ZLibNative.ZStream *stream)
static unsafe ZLibNative.ErrorCode Deflate(ZLibNative.ZStream *stream, ZLibNative.FlushCode flush)
static unsafe ZLibNative.ErrorCode InflateInit2_(ZLibNative.ZStream *stream, int windowBits)
static unsafe ZLibNative.ErrorCode DeflateInit2_(ZLibNative.ZStream *stream, ZLibNative.CompressionLevel level, ZLibNative.CompressionMethod method, int windowBits, int memLevel, ZLibNative.CompressionStrategy strategy)
static unsafe ZLibNative.ErrorCode Inflate(ZLibNative.ZStream *stream, ZLibNative.FlushCode flush)