Example #1
0
 public static extern JSObjectRef JSObjectMakeTypedArrayWithArrayBufferAndOffset(JSContextRef ctx, JSTypedArrayType arrayType, JSObjectRef buffer, UIntPtr byteOffset, UIntPtr length, /* (JSValueRef *) */ IntPtr exception);
Example #2
0
 public static extern JSObjectRef JSObjectMakeTypedArrayWithBytesNoCopy(JSContextRef ctx, JSTypedArrayType arrayType, IntPtr bytes, UIntPtr byteLength, JSTypedArrayBytesDeallocator bytesDeallocator, IntPtr deallocatorContext, /* (JSValueRef *) */ IntPtr exception);
Example #3
0
 public static extern JSObjectRef JSObjectMakeTypedArrayWithArrayBuffer(JSContextRef ctx, JSTypedArrayType arrayType, JSObjectRef buffer, /* (JSValueRef *) */ IntPtr exception);
Example #4
0
 public static extern JSObjectRef JSObjectMakeTypedArray(JSContextRef ctx, JSTypedArrayType arrayType, UIntPtr length, /* (JSValueRef *) */ IntPtr exception);
Example #5
0
 public static extern OpaqueJSValue *JSObjectMakeTypedArrayWithArrayBufferAndOffset([NativeTypeName("JSContextRef")] OpaqueJSContext *ctx, JSTypedArrayType arrayType, [NativeTypeName("JSObjectRef")] OpaqueJSValue *buffer, [NativeTypeName("size_t")] UIntPtr byteOffset, [NativeTypeName("size_t")] UIntPtr length, [NativeTypeName("JSValueRef *")] OpaqueJSValue **exception);
Example #6
0
 public static extern OpaqueJSValue *JSObjectMakeTypedArrayWithArrayBuffer([NativeTypeName("JSContextRef")] OpaqueJSContext *ctx, JSTypedArrayType arrayType, [NativeTypeName("JSObjectRef")] OpaqueJSValue *buffer, [NativeTypeName("JSValueRef *")] OpaqueJSValue **exception);
Example #7
0
 public static extern OpaqueJSValue *JSObjectMakeTypedArrayWithBytesNoCopy([NativeTypeName("JSContextRef")] OpaqueJSContext *ctx, JSTypedArrayType arrayType, [NativeTypeName("void *")] void *bytes, [NativeTypeName("size_t")] UIntPtr byteLength, [NativeTypeName("JSTypedArrayBytesDeallocator")] IntPtr bytesDeallocator, [NativeTypeName("void *")] void *deallocatorContext, [NativeTypeName("JSValueRef *")] OpaqueJSValue **exception);
Example #8
0
 public static extern OpaqueJSValue *JSObjectMakeTypedArray([NativeTypeName("JSContextRef")] OpaqueJSContext *ctx, JSTypedArrayType arrayType, [NativeTypeName("size_t")] UIntPtr length, [NativeTypeName("JSValueRef *")] OpaqueJSValue **exception);