Skip to main content

from_c_string

Function from_c_string 

Source
pub fn from_c_string(buffer: &[c_char]) -> String
Expand description

Convert a null-terminated (or fully-filled) Fortran c_char buffer back into a trimmed Rust String.