pub unsafe extern "C" fn JS_GetTypedArrayByteLength(
    obj: *mut JSObject
) -> usize
Expand description

Return the byte length of a typed array.

|obj| must have passed a JS_IsTypedArrayObject/JS_Is*Array test, or somehow be known that it would pass such a test: it is a typed array or a wrapper of a typed array, and the unwrapping will succeed.