Function fuse_backend_rs::bytes_to_cstr
source ยท pub fn bytes_to_cstr(buf: &[u8]) -> Result<&CStr>
Expand description
trim all trailing nul terminators.
pub fn bytes_to_cstr(buf: &[u8]) -> Result<&CStr>
trim all trailing nul terminators.