Function lz4::block::compress_bound
source · Expand description
Returns the size of the buffer that is guaranteed to hold the result of
compressing uncompressed_size
bytes of in data. Returns std::io::Error
with ErrorKind::InvalidInput if input data is too long to be compressed by lz4.