pub fn detach_array_buffer_buffer_q(
    q_ctx: &QuickJsRealmAdapter,
    array_buffer: &JSValueRef
) -> Result<Vec<u8>, JsError>
Expand description

detach the array buffer and return it, after this the TypedArray is no longer usable in JS (or at least all items will return undefined)