pub const TINFL_FLAG_HAS_MORE_INPUT: u32 = 2; // 2u32
Expand description

There will be more input that hasn’t been given to the decompressor yet.

This is useful when you want to decompress what you have so far, even if you know there is probably more input that hasn’t gotten here yet (e.g., over a network connection). When decompress() reaches the end of the input without finding the end of the compressed stream, it will return TINFLStatus::NeedsMoreInput if this is set, indicating that you should get more data before calling again. If not set, it will return TINFLStatus::FailedCannotMakeProgress suggesting the stream is corrupt, since you claimed it was all there.