Function zstd_safe::compress2[][src]

pub fn compress2(ctx: &mut CCtx<'_>, dst: &mut [u8], src: &[u8]) -> SafeResult
Expand description

Wraps the ZSTD_compress2() function.