Function nstd_sys::cstring::nstd_cstring_as_bytes
source · #[no_mangle]
pub extern "C" fn nstd_cstring_as_bytes(
cstring: &NSTDCString
) -> NSTDSliceAvailable on crate feature
nstd_cstring only.Expand description
Returns an immutable byte slice of the C string’s active data, including the null byte.
Parameters:
const NSTDCString *cstring- The C string.
Returns
NSTDSlice bytes - The C string’s active data.