JSObjectGetArrayBufferByteLength top-level property

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

MacOS 10.12, iOS 10.0 Returns the number of bytes in a JavaScript data object. ctx The execution context to use. object The JS Arary Buffer object whose length in bytes to return. 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 The number of bytes stored in the data object.

Implementation

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