Function javascriptcore_sys::JSObjectGetArrayBufferByteLength
[−]
[src]
pub unsafe extern "C" fn JSObjectGetArrayBufferByteLength(
ctx: JSContextRef,
object: JSObjectRef,
exception: *mut JSValueRef
) -> usize
Returns the number of bytes in a JavaScript data object.
ctx: The execution context to use.object: The JS Arary Buffer object whose length in bytes to return.exception: A pointer to aJSValueRefin which to store an exception, if any. PassNULLif you do not care to store an exception.
Returns the number of bytes stored in the data object.