Function zstd_safe::compress

source ·
pub fn compress<C: WriteBuf + ?Sized>(
    dst: &mut C,
    src: &[u8],
    compression_level: CompressionLevel
) -> SafeResult
Expand description

Wraps the ZSTD_compress function.