Skip to main content

compress

Function compress 

Source
pub fn compress(
    cfg: &Config,
    samples: &[u32],
    output: &mut [u8],
) -> Result<usize, Error>
Expand description

Compress samples using CCSDS 121.0-B-3.

samples contains unsigned n-bit sample values. The length must be a multiple of the block size J. Returns the number of bytes written to output.