Function mozjs::jsapi::IsLargeArrayBufferMaybeShared

source ·
pub unsafe extern "C" fn IsLargeArrayBufferMaybeShared(
    obj: *mut JSObject,
) -> bool
Expand description

Returns whether the passed array buffer is ‘large’: its byteLength >= 2 GB.

|obj| must pass a JS::IsArrayBufferObjectMaybeShared test.