pub unsafe extern "C-unwind" fn JSObjectGetArrayBufferByteLength(
ctx: JSContextRef,
object: JSObjectRef,
exception: *mut JSValueRef,
) -> usizeAvailable on crate features
JSBase and JSTypedArray only.Expand description
Returns the number of bytes in a JavaScript data object.
Parameter ctx: The execution context to use.
Parameter object: The JS Arary Buffer object whose length in bytes 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 number of bytes stored in the data object.
ยงSafety
ctxmust be a valid pointer.objectmust be a valid pointer.exceptionmust be a valid pointer.