Class ZlibConstants
A bunch of constants used in the Zlib interface.
Inheritance
System.Object
ZlibConstants
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Packaging.Ionic.Zlib
Assembly: EPPlus.dll
Syntax
public static class ZlibConstants
Fields
WindowBitsDefault
The default number of window bits for the Deflate algorithm.
Declaration
public const int WindowBitsDefault = 15
Field Value
Type | Description |
---|---|
System.Int32 |
WindowBitsMax
The maximum number of window bits for the Deflate algorithm.
Declaration
public const int WindowBitsMax = 15
Field Value
Type | Description |
---|---|
System.Int32 |
WorkingBufferSizeDefault
The size of the working buffer used in the ZlibCodec class. Defaults to 8192 bytes.
Declaration
public const int WorkingBufferSizeDefault = 16384
Field Value
Type | Description |
---|---|
System.Int32 |
WorkingBufferSizeMin
The minimum size of the working buffer used in the ZlibCodec class. Currently it is 128 bytes.
Declaration
public const int WorkingBufferSizeMin = 1024
Field Value
Type | Description |
---|---|
System.Int32 |
Z_BUF_ERROR
There was an error with the working buffer.
Declaration
public const int Z_BUF_ERROR = -5
Field Value
Type | Description |
---|---|
System.Int32 |
Z_DATA_ERROR
There was an error with the data - not enough data, bad data, etc.
Declaration
public const int Z_DATA_ERROR = -3
Field Value
Type | Description |
---|---|
System.Int32 |
Z_NEED_DICT
The operation ended in need of a dictionary.
Declaration
public const int Z_NEED_DICT = 2
Field Value
Type | Description |
---|---|
System.Int32 |
Z_OK
indicates everything is A-OK
Declaration
public const int Z_OK = 0
Field Value
Type | Description |
---|---|
System.Int32 |
Z_STREAM_END
Indicates that the last operation reached the end of the stream.
Declaration
public const int Z_STREAM_END = 1
Field Value
Type | Description |
---|---|
System.Int32 |
Z_STREAM_ERROR
There was an error with the stream - not enough data, not open and readable, etc.
Declaration
public const int Z_STREAM_ERROR = -2
Field Value
Type | Description |
---|---|
System.Int32 |