nstd_cstring_into_bytes

Function nstd_cstring_into_bytes 

Source
#[unsafe(no_mangle)]
pub extern "C" fn nstd_cstring_into_bytes( cstring: NSTDCString<'_>, ) -> NSTDVec<'_>
Available on crate feature cstring only.
Expand description

Returns ownership of an NSTDCString’s raw data, taking ownership of said C string.

§Parameters:

  • NSTDCString cstring - The C string.

§Returns

NSTDVec bytes - The C string’s raw data.