blosc2_chunk_uninit

Function blosc2_chunk_uninit 

Source
pub unsafe extern "C" fn blosc2_chunk_uninit(
    cparams: blosc2_cparams,
    nbytes: i32,
    dest: *mut c_void,
    destsize: i32,
) -> c_int
Expand description

@brief Create a chunk made of uninitialized values.

@param cparams The compression parameters. @param nbytes The size (in bytes) of the chunk. @param dest The buffer where the data chunk will be put. @param destsize The size (in bytes) of the @p dest buffer; must be BLOSC_EXTENDED_HEADER_LENGTH at least.

@return The number of bytes compressed (BLOSC_EXTENDED_HEADER_LENGTH). If negative, there has been an error and @p dest is unusable.