MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / nativeWriteDataView

Function nativeWriteDataView

test/dataview/dataview_read_write.js:17–19  ·  view source on GitHub ↗
(dataview, type, offset, value)

Source from the content-addressed store, hash-verified

15 }
16
17 function nativeWriteDataView (dataview, type, offset, value) {
18 eval(`binding.dataview_read_write.set${type}(dataview, offset, value)`);
19 }
20
21 // eslint-disable-next-line no-unused-vars
22 function isLittleEndian () {

Callers 2

testWriteDataFunction · 0.85
testInvalidOffsetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected