MCPcopy 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
157Value CheckEmptyBuffer(const CallbackInfo& info) {
158 ArrayBuffer buffer;
159 return Boolean::New(info.Env(), buffer.IsEmpty());
160}
161
162void CheckDetachUpdatesData(const CallbackInfo& info) {
163 if (!info[0].IsArrayBuffer()) {

Callers

nothing calls this directly

Calls 2

EnvMethod · 0.80
IsEmptyMethod · 0.80

Tested by

no test coverage detected