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

Function jsWriteDataView

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

Source from the content-addressed store, hash-verified

30 }
31
32 function jsWriteDataView (dataview, type, offset, value) {
33 eval(`dataview.set${type}(offset, value, isLittleEndian())`);
34 }
35
36 function testReadData (dataview, type, offset, value) {
37 jsWriteDataView(dataview, type, offset, 0);

Callers 2

testReadDataFunction · 0.85
testWriteDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected