blosc1_set_compressor

Function blosc1_set_compressor 

Source
pub unsafe extern "C" fn blosc1_set_compressor(
    compname: *const c_char,
) -> c_int
Expand description

@brief Select the compressor to be used. The supported ones are “blosclz”, “lz4”, “lz4hc”, “zlib” and “ztsd”. If this function is not called, then “blosclz” will be used.

@param compname The name identifier of the compressor to be set.

@return The code for the compressor (>=0). In case the compressor is not recognized, or there is not support for it in this build, it returns a -1.