Function script::dom::bindings::import::module::jsapi::JS::NewArrayBuffer

source ยท
pub unsafe extern "C" fn NewArrayBuffer(
    cx: *mut JSContext,
    nbytes: usize,
) -> *mut JSObject
Expand description

Create a new ArrayBuffer with the given byte length.