pub fn compress_into_with_dict(
input: &[u8],
output: &mut [u8],
dict_data: &[u8],
) -> Result<usize, CompressError>Expand description
Compress all bytes of input into output.
The method chooses an appropriate hashtable to lookup duplicates.
output should be preallocated with a size of
get_maximum_output_size.
Returns the number of bytes written (compressed) into output.