JSObjectGetArrayBufferByteLength(_:_:_:)
Returns the number of bytes in a JavaScript data object.
Declaration
func JSObjectGetArrayBufferByteLength(_ ctx: JSContextRef!, _ object: JSObjectRef!, _ exception: UnsafeMutablePointer<JSValueRef?>!) -> IntParameters
- ctx:
The execution context to use.
- object:
The JavaScript array buffer object with the length in bytes to return.
- exception:
A pointer to a Jsvalueref to store an exception in, if any. Pass
NULLto discard any exception.
Return Value
The number of bytes in the data object.