Enum FlushType
Describes how to flush the current deflate operation.
Namespace: OfficeOpenXml.Packaging.Ionic.Zlib
Assembly: EPPlus.dll
Syntax
public enum FlushType
Remarks
The different FlushType values are useful when using a Deflate in a streaming application.
Fields
Name | Description |
---|---|
Finish | Signals the end of the compression/decompression stream. |
Full | Use this during compression to specify that all output should be flushed, as
with |
None | No flush at all. |
Partial | Closes the current block, but doesn't flush it to the output. Used internally only in hypothetical scenarios. This was supposed to be removed by Zlib, but it is still in use in some edge cases. |
Sync | Use this during compression to specify that all pending output should be
flushed to the output buffer and the output should be aligned on a byte
boundary. You might use this in a streaming communication scenario, so that
the decompressor can get all input data available so far. When using this
with a ZlibCodec, |