Function script::dom::bindings::import::module::jsapi::JS_GetArrayBufferViewBuffer

source ยท
pub unsafe extern "C" fn JS_GetArrayBufferViewBuffer(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
    isSharedMemory: *mut bool,
) -> *mut JSObject
Expand description

Return the ArrayBuffer or SharedArrayBuffer underlying an ArrayBufferView. This may return a detached buffer. |obj| must be an object that would return true for JS_IsArrayBufferViewObject().