Function quickjs_runtime::quickjs_utils::typedarrays::new_uint8_array_copy
source · [−]Expand description
create a new TypedArray with a buffer, the buffer is copied and that copy can be reclaimed later by calling detach_array_buffer_buffer_q
Safety
please ensure that the relevant QuickjsRealmAdapter is not dropped while using this function or a result of this function