Function javascriptcore_sys::JSObjectMakeTypedArrayWithArrayBuffer [] [src]

pub unsafe extern "C" fn JSObjectMakeTypedArrayWithArrayBuffer(
    ctx: JSContextRef,
    arrayType: JSTypedArrayType,
    buffer: JSObjectRef,
    exception: *mut JSValueRef
) -> JSObjectRef

Creates a JavaScript Typed Array object from an existing JavaScript Array Buffer object.

Returns a JSObjectRef that is a Typed Array or NULL if there was an error. The backing store of the Typed Array will be buffer.