#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_i2c_part_received(
part: *const PamojaI2cPart,
index: usize,
) -> *mut PamojaBufferExpand description
Copies one write a part that takes commands received: a command and any arguments after it.
§Arguments
part- the part.index- which write, oldest first, belowpamoja_i2c_part_received_count.
§Returns
The write’s bytes, which the caller releases with crate::pamoja_buffer_free, or null for
a null part, a part of another kind, or an index past the last write.
§Safety
part must be a live handle or null.