Function quickjs_runtime::quickjs_utils::typedarrays::new_array_buffer
source · [−]Expand description
this method creates a new ArrayBuffer which is used as a basis for all typed arrays the buffer vec is stored and used in js, when it is no longer needed it is dropped
Safety
QuickJsRealmAdapter should not be dropped before using this, e.g. the context should still be valid