typedArrayByteOffset method
Returns the byte offset 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
int typedArrayByteOffset() {
final JSException exception = JSException.create(context);
final ret = JSObjectGetTypedArrayByteOffset(
context.ref,
_ref,
exception.ref,
);
if (exception.shouldThrow) throw exception.error;
return ret;
}