[−][src]Function zstd_safe::dctx_reset
pub fn dctx_reset(
dctx: &mut DCtx,
reset: ResetDirective
) -> Result<usize, usize>
ZSTD_DCtx_reset()
Return a DCtx to clean state.
Session and parameters can be reset jointly or separately.
Parameters can only be reset when no active frame is being decompressed.
return : 0, or an error code, which can be tested with ZSTD_isError()