Function nstd_sys::string::nstd_string_as_ptr
source · #[no_mangle]
pub extern "C" fn nstd_string_as_ptr(
string: &NSTDString
) -> *const NSTDByteAvailable on crate feature
nstd_string only.Expand description
Returns a raw pointer to a string’s memory.
Parameters:
const NSTDString *string- The string.
Returns
const NSTDByte *ptr - A raw pointer to a string’s memory.