Function zstd_sys::ZSTD_CCtx_reset [] [src]

pub unsafe extern "C" fn ZSTD_CCtx_reset(cctx: *mut ZSTD_CCtx)

ZSTD_CCtx_reset() : Return a CCtx to clean state. Useful after an error, or to interrupt an ongoing compression job and start a new one. Any internal data not yet flushed is cancelled. Dictionary (if any) is dropped. All parameters are back to default values. It's possible to modify compression parameters after a reset.