MCPcopy Create free account
hub / github.com/nodejs/nan / Encode

Function Encode

nan.h:2458–2461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2456}
2457
2458inline v8::Local<v8::Value> Encode(
2459 const void *buf, size_t len, enum Encoding encoding = BINARY) {
2460 return TryEncode(buf, len, encoding).ToLocalChecked();
2461}
2462
2463#else
2464

Callers 1

NAN_METHODFunction · 0.50

Calls 2

TryEncodeFunction · 0.85
ToLocalCheckedMethod · 0.80

Tested by

no test coverage detected