Function numcodecs_zstd::compress

source ·
pub fn compress(
    array: AnyArrayView<'_>,
    level: ZstdLevel,
) -> Result<Vec<u8>, ZstdCodecError>
Expand description

Compress the array using Zstandard with the provided level.

§Errors

Errors with

§Panics

Panics if the infallible encoding with Zstd fails.