JSObjectGetTypedArrayBuffer top-level property

JSObjectRef Function(JSContextRef ctx, JSObjectRef object, Pointer<JSValueRef> exception) JSObjectGetTypedArrayBuffer
final

MacOS 10.12, iOS 10.0 Returns the JavaScript Array Buffer object that is used as the backing of a JavaScript Typed Array object. ctx The execution context to use. object The JSObjectRef whose Typed Array type data pointer to obtain. 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. @result A JSObjectRef with a JSTypedArrayType of kJSTypedArrayTypeArrayBuffer or NULL if object is not a Typed Array.

Implementation

final JSObjectRef Function(JSContextRef ctx, JSObjectRef object, Pointer<JSValueRef> exception) JSObjectGetTypedArrayBuffer =
    jscLib.lookup<NativeFunction<JSObjectRef Function(JSContextRef ctx, JSObjectRef object, Pointer<JSValueRef> exception)>>('JSObjectGetTypedArrayBuffer').asFunction();