blosc2_ctx_get_cparams

Function blosc2_ctx_get_cparams 

Source
pub unsafe extern "C" fn blosc2_ctx_get_cparams(
    ctx: *mut blosc2_context,
    cparams: *mut blosc2_cparams,
) -> c_int
Expand description

@brief Create a @p cparams associated to a context.

@param ctx The context from where to extract the compression parameters. @param cparams The pointer where the compression params will be stored.

@return 0 if succeeds. Else a negative code is returned.