Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node-addon-api
/ CheckEmptyBuffer
Function
CheckEmptyBuffer
test/array_buffer.cc:157–160 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
155
}
156
157
Value CheckEmptyBuffer(const CallbackInfo& info) {
158
ArrayBuffer buffer;
159
return Boolean::New(info.Env(), buffer.IsEmpty());
160
}
161
162
void CheckDetachUpdatesData(const CallbackInfo& info) {
163
if (!info[0].IsArrayBuffer()) {
Callers
nothing calls this directly
Calls
2
Env
Method · 0.80
IsEmpty
Method · 0.80
Tested by
no test coverage detected