Function quickjs_runtime::quickjs_utils::typedarrays::get_array_buffer
source · [−]pub unsafe fn get_array_buffer(
ctx: *mut JSContext,
typed_array: &JSValueRef
) -> Result<JSValueRef, JsError>
Expand description
get the underlying ArrayBuffer of a TypedArray
Safety
please ensure that the relevant QuickjsRealmAdapter is not dropped while using this function or a result of this function