pub trait CStringExt {
    fn from_fixed_length_buffer_ascii_nul_terminated(
        buffer: Vec<c_char>
    ) -> CString; fn from_fixed_length_buffer_optionally_ascii_nul_terminated(
        buffer: Vec<c_char>
    ) -> CString; }
Expand description

CString extensions.

Required Methods

From a fixed length buffer, where the string is always terminated by an ASCII NUL.

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

Implementors