typedArrayBuffer method
Returns the JavaScript Array Buffer object that is used as the backing of a JavaScript Typed Array object.
exception
(JSValueRef*) A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
Implementation
JSObject typedArrayBuffer({
JSValuePointer? exception,
}) {
return JSObject(
context,
JSTypedArray.jSObjectGetTypedArrayBuffer(context.pointer, pointer,
(exception ?? JSValuePointer(nullptr)).pointer));
}