Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2458
inline 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_METHOD
Function · 0.50
Calls
2
TryEncode
Function · 0.85
ToLocalChecked
Method · 0.80
Tested by
no test coverage detected