1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
- using System;
- namespace Org.BouncyCastle.Utilities.Zlib {
- public sealed class JZlib{
- private const String _version="1.0.7";
- public static String version()
- {
- return _version;
- }
-
- public const int Z_NO_COMPRESSION=0;
- public const int Z_BEST_SPEED=1;
- public const int Z_BEST_COMPRESSION=9;
- public const int Z_DEFAULT_COMPRESSION=-1;
-
- public const int Z_FILTERED=1;
- public const int Z_HUFFMAN_ONLY=2;
- public const int Z_DEFAULT_STRATEGY=0;
- 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_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;
- }
- }
- #endif
|