AxibugEmuOnline/AxibugEmuOnline.Client/Assets/MyNes.Core/ComponentAce.Compression.Libs.zlib/zlibConst.cs

55 lines
1.1 KiB
C#
Raw Normal View History

2024-07-03 18:22:22 +08:00
namespace ComponentAce.Compression.Libs.zlib
2024-07-03 18:15:28 +08:00
{
2024-07-03 18:22:22 +08:00
public sealed class zlibConst
{
private const string version_Renamed_Field = "1.0.2";
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_NO_COMPRESSION = 0;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_BEST_SPEED = 1;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_BEST_COMPRESSION = 9;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_DEFAULT_COMPRESSION = -1;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_FILTERED = 1;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_HUFFMAN_ONLY = 2;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_DEFAULT_STRATEGY = 0;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_NO_FLUSH = 0;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_PARTIAL_FLUSH = 1;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_SYNC_FLUSH = 2;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_FULL_FLUSH = 3;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_FINISH = 4;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_OK = 0;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_STREAM_END = 1;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_NEED_DICT = 2;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_ERRNO = -1;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_STREAM_ERROR = -2;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_DATA_ERROR = -3;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_MEM_ERROR = -4;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_BUF_ERROR = -5;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public const int Z_VERSION_ERROR = -6;
2024-07-03 18:15:28 +08:00
2024-07-03 18:22:22 +08:00
public static string version()
{
return "1.0.2";
}
}
2024-07-03 15:40:13 +08:00
}