-
-
Notifications
You must be signed in to change notification settings - Fork 3
zlib.ZStream.Flush
Andrew Lambert edited this page Nov 26, 2022
·
15 revisions
Private Sub Flush() Implements Writeable.Flush
Sub Flush(Flushing As Integer)
Flushes the compression stream according to the Flushing
parameter. If called on the Writeable
interface then Z_SYNC_FLUSH
is used as the Flushing
parameter.
The Flushing
parameter may be one of the following:
Name | Comment |
---|---|
Z_NO_FLUSH |
Allows zlib to decide how much data to accumulate before producing output. |
Z_SYNC_FLUSH |
All pending output is flushed to the output stream and the output is aligned on a byte boundary. |
Z_PARTIAL_FLUSH |
All pending output is flushed to the output stream but the output is not aligned to a byte boundary. |
Z_BLOCK |
A deflate block is completed and written to the output stream but the output is not aligned on a byte boundary. |
Z_FULL_FLUSH |
Like Z_SYNC_FLUSH , and the compression state is reset so that decompression can restart from this point with ZStream.Sync. |
Z_FINISH |
Processing is finished and all remaining output is written to the output stream. Equivalent to calling ZStream.Close. |
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.