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

Function SetUint32

test/dataview/dataview_read_write.cc:87–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87static void SetUint32(const CallbackInfo& info) {
88 size_t byteOffset = info[1].As<Number>().Uint32Value();
89 auto value = info[2].As<Number>().Uint32Value();
90 info[0].As<DataView>().SetUint32(byteOffset, value);
91}
92
93Object InitDataViewReadWrite(Env env) {
94 Object exports = Object::New(env);

Callers

nothing calls this directly

Calls 1

SetUint32Method · 0.80

Tested by

no test coverage detected