compress_strongly

Function compress_strongly 

Source
pub fn compress_strongly(blob: &[u8], bomb_limit: usize) -> Option<Vec<u8>>
Expand description

Strongly compress a blob who’s size is limited by bomb_limit.

If the blob’s size is over the bomb limit, this will not compress the blob, as the decoder will not be able to be able to differentiate it from a compression bomb.