Skip to main content

nf_string_new

Function nf_string_new 

Source
#[unsafe(no_mangle)]
pub(crate) unsafe extern "C" fn nf_string_new( bytes: *const u8, len: usize, ) -> Slot
Expand description

A string with a copy of len bytes of UTF-8 at bytes.

ยงSafety

bytes points to len readable bytes.