Function nstd_sys::string::nstd_string_as_bytes
source · #[no_mangle]
pub extern "C" fn nstd_string_as_bytes(
string: &NSTDString<'_>
) -> NSTDSliceAvailable on crate feature
string only.Expand description
Returns an immutable byte slice of the string’s active data.
Parameters:
const NSTDString *string- The string.
Returns
NSTDSlice bytes - The string’s active data.