pub fn compress_with_verify( data: &[u8], format: SupportedCompressionFormat, verify: bool, ) -> Result<Vec<u8>>
Compresses in-memory byte slice using the specified compression format and verification option.