jSObjectGetTypedArrayByteOffset top-level property
int Function(Pointer<NativeType> ctx, Pointer<NativeType> object, Pointer<Pointer<NativeType> > exception)
jSObjectGetTypedArrayByteOffset
final
Returns the byte offset of a JavaScript Typed Array object.
ctx
(JSContextRef) The execution context to use.
object
(JSObjectRef) The Typed Array object whose byte offset to return.
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.
@result
(size_t) The byte offset of the Typed Array object or 0 if the object is not a Typed Array object.
Implementation
final int Function(Pointer ctx, Pointer object, Pointer<Pointer> exception)
jSObjectGetTypedArrayByteOffset = JscFfi.lib
.lookup<NativeFunction<Uint32 Function(Pointer, Pointer, Pointer)>>(
'JSObjectGetTypedArrayByteOffset')
.asFunction();