Function chakracore_sys::JsGetDataViewStorage [] [src]

pub unsafe extern "system" fn JsGetDataViewStorage(
    dataView: JsValueRef,
    buffer: *mut ChakraBytePtr,
    bufferLength: *mut c_uint
) -> JsErrorCode

Obtains the underlying memory storage used by a DataView. The DataView instance. The DataView's buffer. The lifetime of the buffer returned is the same as the lifetime of the the DataView. The buffer pointer does not count as a reference to the DataView for the purpose of garbage collection. The number of bytes in the buffer. The code JsNoError if the operation succeeded, a failure code otherwise.