|
JSObjectRef | JSObjectMakeTypedArray (JSContextRef ctx, JSTypedArrayType arrayType, size_t length, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12) |
| Creates a JavaScript Typed Array object with the given number of elements.
|
|
JSObjectRef | ios (10.0)) |
|
JSObjectRef | JSObjectMakeTypedArrayWithBytesNoCopy (JSContextRef ctx, JSTypedArrayType arrayType, void *bytes, size_t byteLength, JSTypedArrayBytesDeallocator bytesDeallocator, void *deallocatorContext, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12) |
| Creates a JavaScript Typed Array object from an existing pointer.
|
|
JSObjectRef | JSObjectMakeTypedArrayWithArrayBuffer (JSContextRef ctx, JSTypedArrayType arrayType, JSObjectRef buffer, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12) |
| Creates a JavaScript Typed Array object from an existing JavaScript Array Buffer object.
|
|
JSObjectRef | JSObjectMakeTypedArrayWithArrayBufferAndOffset (JSContextRef ctx, JSTypedArrayType arrayType, JSObjectRef buffer, size_t byteOffset, size_t length, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12) |
| Creates a JavaScript Typed Array object from an existing JavaScript Array Buffer object with the given offset and length.
|
|
void * | JSObjectGetTypedArrayBytesPtr (JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12) |
| Returns a temporary pointer to the backing store of a JavaScript Typed Array object.
|
|
size_t | JSObjectGetTypedArrayLength (JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12) |
| Returns the length of a JavaScript Typed Array object.
|
|
size_t | JSObjectGetTypedArrayByteLength (JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12) |
| Returns the byte length of a JavaScript Typed Array object.
|
|
size_t | JSObjectGetTypedArrayByteOffset (JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12) |
| Returns the byte offset of a JavaScript Typed Array object.
|
|
JSObjectRef | JSObjectGetTypedArrayBuffer (JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12) |
| Returns the JavaScript Array Buffer object that is used as the backing of a JavaScript Typed Array object.
|
|
JSObjectRef | JSObjectMakeArrayBufferWithBytesNoCopy (JSContextRef ctx, void *bytes, size_t byteLength, JSTypedArrayBytesDeallocator bytesDeallocator, void *deallocatorContext, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12) |
| Creates a JavaScript Array Buffer object from an existing pointer.
|
|
void * | JSObjectGetArrayBufferBytesPtr (JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12) |
| Returns a pointer to the data buffer that serves as the backing store for a JavaScript Typed Array object.
|
|
size_t | JSObjectGetArrayBufferByteLength (JSContextRef ctx, JSObjectRef object, JSValueRef *exception) JSC_API_AVAILABLE(macos(10.12) |
| Returns the number of bytes in a JavaScript data object.
|
|