mirror of
https://github.com/SabreTools/SabreTools.Compression.git
synced 2026-09-22 14:54:59 +00:00
Port zlibConst from UnshieldSharp
This commit is contained in:
23
SabreTools.Compression/zlib/zlibConst.cs
Normal file
23
SabreTools.Compression/zlib/zlibConst.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
namespace SabreTools.Compression.zlib
|
||||
{
|
||||
public static class zlibConst
|
||||
{
|
||||
public const int Z_NO_FLUSH = 0;
|
||||
public const int Z_PARTIAL_FLUSH = 1;
|
||||
public const int Z_SYNC_FLUSH = 2;
|
||||
public const int Z_FULL_FLUSH = 3;
|
||||
public const int Z_FINISH = 4;
|
||||
public const int Z_BLOCK = 5;
|
||||
public const int Z_TREES = 6;
|
||||
|
||||
public const int Z_OK = 0;
|
||||
public const int Z_STREAM_END = 1;
|
||||
public const int Z_NEED_DICT = 2;
|
||||
public const int Z_ERRNO = (-1);
|
||||
public const int Z_STREAM_ERROR = (-2);
|
||||
public const int Z_DATA_ERROR = (-3);
|
||||
public const int Z_MEM_ERROR = (-4);
|
||||
public const int Z_BUF_ERROR = (-5);
|
||||
public const int Z_VERSION_ERROR = (-6);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user