Function eccodes_sys::codes_handle_new_from_message_copy[][src]

pub unsafe extern "C" fn codes_handle_new_from_message_copy(
    c: *mut codes_context,
    data: *const c_void,
    data_len: size_t
) -> *mut codes_handle
Expand description

Create a handle from a user message. The message is copied and will be freed with the handle

@param c : the context from which the handle will be created (NULL for default context) @param data : the actual message @param data_len : the length of the message in number of bytes @return the new handle, NULL if the message is invalid or a problem is encountered