Function compress_bound
pub const fn compress_bound(source_len: usize) -> usize
Returns the upper bound on the compressed size for an input of source_len bytes.
When compression has this much space available, it will never fail because of insufficient output space.
Example
# use *;
assert_eq!;
assert_eq!;
assert_eq!;
#