pub unsafe extern "C-unwind" fn JSObjectGetTypedArrayBuffer(
ctx: JSContextRef,
object: JSObjectRef,
exception: *mut JSValueRef,
) -> JSObjectRefAvailable on crate features
JSBase and JSTypedArray only.Expand description
Returns the JavaScript Array Buffer object that is used as the backing of a JavaScript Typed Array object.
Parameter ctx: The execution context to use.
Parameter object: The JSObjectRef whose Typed Array type data pointer to obtain.
Parameter exception: A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
Returns: A JSObjectRef with a JSTypedArrayType of kJSTypedArrayTypeArrayBuffer or NULL if object is not a Typed Array.
ยงSafety
ctxmust be a valid pointer.objectmust be a valid pointer.exceptionmust be a valid pointer.