Function chakracore_sys::JsCreateDataView [] [src]

pub unsafe extern "system" fn JsCreateDataView(
    arrayBuffer: JsValueRef,
    byteOffset: c_uint,
    byteLength: c_uint,
    result: *mut JsValueRef
) -> JsErrorCode

Creates a Javascript DataView object. Requires an active script context. An existing ArrayBuffer object to use as the storage for the result DataView object. The offset in bytes from the start of arrayBuffer for result DataView to reference. The number of bytes in the ArrayBuffer for result DataView to reference. The new DataView object. The code JsNoError if the operation succeeded, a failure code otherwise.