#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_serial_script_write(
script: *mut PamojaSerialScript,
bytes: *const u8,
len: usize,
) -> PamojaStatusExpand description
Adds a write the program is expected to make, in one call.
§Arguments
script- the script.bytes- the bytes of the write.len- how many bytes.
§Returns
PamojaStatus::Ok, or PamojaStatus::InvalidArgument for a null argument.
§Safety
script must be a live handle or null, and bytes must point to len readable bytes.