#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_mavlink_message_get_uint(
message: *const PamojaMavlinkMessage,
field: *const c_char,
index: usize,
out_value: *mut u64,
) -> PamojaStatusExpand description
Reads a field as an unsigned integer.
Any integer field reads this way, whatever its width or sign.
§Arguments
message- the message to read.field- the field name.index- the element to read, or0for a scalar field.out_value- set to the value on success.
§Returns
PamojaStatus::Ok on success.
§Errors
Returns PamojaStatus::InvalidArgument if a pointer is null, the message has no such
field, the element is past the end of an array, the field is floating-point, or the
value is negative.
§Safety
message must be a live message handle, field a null-terminated C string, and
out_value must point at writable storage for one 64-bit integer.