Function mozjs::jsapi::JS::CreateMappedArrayBufferContents

source ยท
pub unsafe extern "C" fn CreateMappedArrayBufferContents(
    fd: i32,
    offset: usize,
    length: usize,
) -> *mut c_void
Expand description

Create memory mapped ArrayBuffer contents. Caller must take care of closing fd after calling this function.