Function eccodes_sys::codes_get_bytes[][src]

pub unsafe extern "C" fn codes_get_bytes(
    h: *const codes_handle,
    key: *const c_char,
    bytes: *mut c_uchar,
    length: *mut size_t
) -> c_int
Expand description

Get raw bytes values from a key. If several keys of the same name are present, the last one is returned @see codes_set_bytes

@param h : the handle to get the data from @param key : the key to be searched @param bytes : the address of a byte array where the data will be retrieved @param length : the address of a size_t that contains allocated length of the byte array on input, and that contains the actual length of the byte array on output @return 0 if OK, integer value on error