Port zlibConst from UnshieldSharp

This commit is contained in:
Matt Nadareski
2024-04-24 00:35:12 -04:00
parent 910b01b072
commit 018fd01922

View 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);
}
}