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

Function SetFloat64

test/dataview/dataview_read_write.cc:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51static void SetFloat64(const CallbackInfo& info) {
52 size_t byteOffset = info[1].As<Number>().Uint32Value();
53 auto value = info[2].As<Number>().DoubleValue();
54 info[0].As<DataView>().SetFloat64(byteOffset, value);
55}
56
57static void SetInt8(const CallbackInfo& info) {
58 size_t byteOffset = info[1].As<Number>().Uint32Value();

Callers

nothing calls this directly

Calls 1

SetFloat64Method · 0.80

Tested by

no test coverage detected