numcodecs_zfp

Function compress

Source
pub fn compress<T: ZfpCompressible, D: Dimension>(
    data: ArrayView<'_, T, D>,
    mode: &ZfpCompressionMode,
) -> Result<Vec<u8>, ZfpCodecError>
Expand description

Compress the data array using ZFP with the provided mode.

ยงErrors

Errors with