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

Get a copy of the underlying array buffer and return it unlike when using detach_array_buffer_buffer_q the TypedArray is still intact after using this the operation is just more expensive because the Vec is cloned