MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / GetBuffer

Function GetBuffer

test/dataview/dataview.cc:46–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44#endif
45
46static Value GetBuffer(const CallbackInfo& info) {
47 return info[0].As<DataView>().Buffer();
48}
49
50static Value GetArrayBuffer(const CallbackInfo& info) {
51 return info[0].As<DataView>().ArrayBuffer();

Callers

nothing calls this directly

Calls 1

BufferMethod · 0.80

Tested by

no test coverage detected