Open lopopolo opened 2 years ago
CString::as_bytes_with_nul is cheap to call - it directly returns a reference to the inner byte slice.
CString::as_bytes_with_nul
as_bytes_with_nul performs no allocations or validations.
as_bytes_with_nul
See:
as_bytes_with_nul has been stable since Rust 1.0.0.
CString::as_bytes_with_nul
is cheap to call - it directly returns a reference to the inner byte slice.as_bytes_with_nul
performs no allocations or validations.See:
as_bytes_with_nul
has been stable since Rust 1.0.0.