pub fn compress(
preprocessors: &[Preprocessor],
components: &[Component],
input: &[u8],
) -> Result<Vec<u8>, Error>Expand description
Compress the input data with LC using zero or more preprocessors and
one or more components.
ยงErrors
Errors with
Error::TooFewComponentsif nocomponentsare givenError::TooManyComponentsif too manycomponentsare givenError::ExcessiveInputDataif theinputdata is too largeError::CompressionFailedif compression with LC failedError::ExcessiveCompressedDataif the compressed data is too large