pub fn blast(
input: &[u8],
out: &mut Vec<u8>,
max_out: usize,
) -> Result<(), BlastError>Expand description
Decompress a PKWare DCL stream from input, appending at most max_out
bytes to out.
The format can expand a few bytes into hundreds, so untrusted input
needs a bound: when the stream would produce more than max_out bytes,
decompression stops with BlastError::OutputLimit.
Input after the end code is ignored. On error, out holds whatever was
decompressed so far.