Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
46
static Value GetBuffer(const CallbackInfo& info) {
47
return info[0].As<DataView>().Buffer();
48
}
49
50
static Value GetArrayBuffer(const CallbackInfo& info) {
51
return info[0].As<DataView>().ArrayBuffer();
Callers
nothing calls this directly
Calls
1
Buffer
Method · 0.80
Tested by
no test coverage detected