Function miniz_oxide::inflate::stream::inflate [−][src]
pub fn inflate(
state: &mut InflateState,
input: &[u8],
output: &mut [u8],
flush: MZFlush
) -> StreamResult
Try to decompress from input
to output
with the given InflateState
Errors
Returns MZError::Buf
If the size of the output
slice is empty or no progress was made due to
lack of expected input data or called after the decompression was
finished without MZFlush::Finish.
Returns MZError::Param
if the compressor parameters are set wrong.