Function javascriptcore_sys::JSObjectGetTypedArrayBytesPtr [] [src]

pub unsafe extern "C" fn JSObjectGetTypedArrayBytesPtr(
    ctx: JSContextRef,
    object: JSObjectRef,
    exception: *mut JSValueRef
) -> *mut c_void

Returns a temporary pointer to the backing store of a JavaScript Typed Array object.

Returns a pointer to the raw data buffer that serves as object's backing store or NULL if object is not a Typed Array object.

The pointer returned by this function is temporary and is not guaranteed to remain valid across JavaScriptCore API calls.