Skip to main content

pamoja_can_frame_len

Function pamoja_can_frame_len 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_can_frame_len( frame: *const PamojaCanFrame, ) -> usize
Expand description

Returns how many payload bytes a frame carries.

A remote frame reports the length it requests while carrying no data.

§Returns

The length, or 0 if frame is null.

§Safety

frame must be a live handle from one of the frame constructors, or null.