//! Internal utilities for interpreting raw shared-memory data.
/// Interprets a null-terminated `i8` buffer from a C struct as a Rust `&str`.
///
/// The buffer is reinterpreted as `u8`, truncated at the first null byte, and
/// decoded as UTF-8. Returns `""` if the bytes are not valid UTF-8.