Function eccodes_sys::codes_set_bytes [−][src]
pub unsafe extern "C" fn codes_set_bytes(
h: *mut codes_handle,
key: *const c_char,
bytes: *const c_uchar,
length: *mut size_t
) -> c_int
Expand description
Set a bytes array from a key. If several keys of the same name are present, the last one is set @see codes_get_bytes
@param h : the handle to set the data to @param key : the key to be searched @param bytes : the address of a byte array where the data will be read @param length : the address of a size_t that contains the length of the byte array on input, and that contains the actual packed length of the byte array on output @return 0 if OK, integer value on error