Function zstd_sys::ZSTD_DCtx_reset [] [src]

pub unsafe extern "C" fn ZSTD_DCtx_reset(dctx: *mut ZSTD_DCtx)

ZSTD_DCtx_reset() : Return a DCtx to clean state. If a decompression was ongoing, any internal data not yet flushed is cancelled. All parameters are back to default values, including sticky ones. Dictionary (if any) is dropped. Parameters can be modified again after a reset.