nstd_string_into_bytes

Function nstd_string_into_bytes 

Source
#[unsafe(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.