Function js::jsapi::JS_GetDataViewByteOffset
[−]
[src]
pub unsafe extern "C" fn JS_GetDataViewByteOffset(obj: *mut JSObject) -> u32
Return the byte offset of a data view into its array buffer. |obj| must be a DataView.
|obj| must have passed a JS_IsDataViewObject test, or somehow be known that it would pass such a test: it is a data view or a wrapper of a data view, and the unwrapping will succeed.