Function mozjs::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.