pub fn message_string_set(dest: &mut [i8], src: &str) -> Result<usize>Expand description
Copies a Rust string slice into a fixed-size C-style char array within a message.
This is a safe wrapper around CFE_SB_MessageStringSet. It handles truncation
and null-padding correctly.
ยงArguments
dest: A mutable slice representing the fixed-size char array in the message.src: The Rust string slice to copy from.