Trait swiss_army_knife::strings::CStringExt [−][src]
CString extensions.
Required methods
fn from_fixed_length_buffer_ascii_nul_terminated(buffer: Vec<c_char>) -> CString
[src]
From a fixed length buffer, where the string is always terminated by an ASCII NUL.
fn from_fixed_length_buffer_optionally_ascii_nul_terminated(
buffer: Vec<c_char>
) -> CString
[src]
buffer: Vec<c_char>
) -> CString
From a fixed length buffer, where the string is not terminated by an ASCII NUL if it occupies the entire buffer.
Implementations on Foreign Types
impl CStringExt for CString
[src]
fn from_fixed_length_buffer_ascii_nul_terminated(buffer: Vec<c_char>) -> CString
[src]
fn from_fixed_length_buffer_optionally_ascii_nul_terminated(
buffer: Vec<c_char>
) -> CString
[src]
buffer: Vec<c_char>
) -> CString