Function javascriptcore_sys::JSObjectGetTypedArrayByteLength
[−]
[src]
pub unsafe extern "C" fn JSObjectGetTypedArrayByteLength(
ctx: JSContextRef,
object: JSObjectRef,
exception: *mut JSValueRef
) -> usize
Returns the byte length of a JavaScript Typed Array object.
ctx: The execution context to use.object: The Typed Array object whose byte length 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 byte length of the Typed Array object or 0 if the
object is not a Typed Array object.