pub unsafe extern "C" fn StealArrayBufferContents(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>
) -> *mut c_void
Expand description

Steal the contents of the given ArrayBuffer. The ArrayBuffer has its length set to 0 and its contents array cleared. The caller takes ownership of the return value and must free it or transfer ownership via JS::NewArrayBufferWithContents when done using it.