#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_NewArrayBufferCopy(
ctx: *mut JsContext,
buf: *const u8,
len: usize,
) -> JsValueExpand description
JS_NewArrayBufferCopy: a new ArrayBuffer holding a copy of len bytes at buf.
ยงSafety
buf must point at len readable bytes, or be null with len == 0.