#[no_mangle]
pub const extern "C" fn nstd_string_as_bytes(
    string: &NSTDString<'_>
) -> NSTDSlice
Available on crate feature string only.
Expand description

Returns an immutable byte slice of the string’s active data.

§Parameters:

  • const NSTDString *string - The string.

§Returns

NSTDSlice bytes - The string’s active data.