Function snap::raw::max_compress_len
source · pub fn max_compress_len(input_len: usize) -> usize
Expand description
Returns the maximum compressed size given the uncompressed size.
If the uncompressed size exceeds the maximum allowable size then this returns 0.