From dc0db358abe19481e475e10c32149b53370f1a1c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 05:57:31 +0200 Subject: Merging upstream version 1.72.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/gix-features/src/zlib/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vendor/gix-features/src/zlib/mod.rs') diff --git a/vendor/gix-features/src/zlib/mod.rs b/vendor/gix-features/src/zlib/mod.rs index 8dcdfd93f..f55660075 100644 --- a/vendor/gix-features/src/zlib/mod.rs +++ b/vendor/gix-features/src/zlib/mod.rs @@ -41,6 +41,11 @@ impl Inflate { (self.state.total_out() - before_out) as usize, )) } + + /// Ready this instance for decoding another data stream. + pub fn reset(&mut self) { + self.state.reset(true); + } } /// -- cgit v1.2.3