diff --git a/SabreTools.Compression/zlib/zlibConst.cs b/SabreTools.Compression/zlib/zlibConst.cs new file mode 100644 index 0000000..244b47a --- /dev/null +++ b/SabreTools.Compression/zlib/zlibConst.cs @@ -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); + } +} \ No newline at end of file