Function mozjs::jsapi::NewArrayBufferWithContents

source ยท
pub unsafe extern "C" fn NewArrayBufferWithContents(
    cx: *mut JSContext,
    nbytes: usize,
    contents: *mut c_void,
) -> *mut JSObject