Function nstd_sys::string::nstd_string_into_bytes
source · #[no_mangle]
pub extern "C" fn nstd_string_into_bytes(
string: NSTDString<'_>
) -> NSTDVec<'_>Available on crate feature
string only.Expand description
Returns ownership of an NSTDString’s raw data, taking ownership of said string.
Parameters:
NSTDString string- The string.
Returns
NSTDVec bytes - The string’s raw data.