blosc2_schunk_get_dparams

Function blosc2_schunk_get_dparams 

Source
pub unsafe extern "C" fn blosc2_schunk_get_dparams(
    schunk: *mut blosc2_schunk,
    dparams: *mut *mut blosc2_dparams,
) -> c_int
Expand description

@brief Return the @p dparams struct associated to a super-chunk.

@param schunk The super-chunk from where to extract the decompression parameters. @param dparams The pointer where the decompression params will be returned.

@warning A new struct is allocated, and the user should free it after use.

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