pub unsafe extern "C-unwind" fn JSObjectGetTypedArrayByteLength(
ctx: JSContextRef,
object: JSObjectRef,
exception: *mut JSValueRef,
) -> usizeAvailable on crate features
JSBase and JSTypedArray only.Expand description
Returns the byte length of a JavaScript Typed Array object.
Parameter ctx: The execution context to use.
Parameter object: The Typed Array object whose byte length to return.
Parameter exception: A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if 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.
ยงSafety
ctxmust be a valid pointer.objectmust be a valid pointer.exceptionmust be a valid pointer.