Function nstd_sys::string::nstd_string_as_ptr
source · #[no_mangle]
pub const extern "C" fn nstd_string_as_ptr(
string: &NSTDString<'_>
) -> *const NSTDByteAvailable on crate feature
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.