Function zstd_safe::compress_block[][src]

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

Wraps the ZSTD_compressBlock() function.