#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_NewUint8Array(
ctx: *mut JsContext,
buf: *mut u8,
len: usize,
free_func: FreeArrayBufferDataFunc,
opaque: *mut c_void,
is_shared: Bool,
) -> JsValueExpand description
JS_NewUint8Array: a Uint8Array over a C block, taking ownership of it.
ยงSafety
buf must be null or point at len readable bytes.