Enum miniz_oxide::MZFlush
source · #[repr(i32)]
pub enum MZFlush {
None,
Partial,
Sync,
Full,
Finish,
Block,
}
Expand description
A list of flush types.
See http://www.bolet.org/~pornin/deflate-flush.html for more in-depth info.
Variants§
None
Don’t force any flushing. Used when more input data is expected.
Partial
Zlib partial flush.
Currently treated as Sync
.
Sync
Finish compressing the currently buffered data, and output an empty raw block. Has no use in decompression.
Full
Same as Sync
, but resets the compression dictionary so that further compressed
data does not depend on data compressed before the flush.
Has no use in decompression, and is an error to supply in that case.
Finish
Attempt to flush the remaining data and end the stream.
Block
Not implemented.