zlib_rs::deflate

Function end

Source
pub fn end<'a>(
    stream: &'a mut DeflateStream<'_>,
) -> Result<&'a mut z_stream, &'a mut z_stream>
Expand description

ยงReturns

  • Err when deflate is not done. A common cause is insufficient output space
  • Ok otherwise