blosc2_compname_to_compcode

Function blosc2_compname_to_compcode 

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

@brief Get the compressor code associated with the compressor name.

@param compname The string containing the compressor name.

@return The compressor code. If the compressor name is not recognized, or there is not support for it in this build, -1 is returned instead.