We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c3d86d commit c0f5157Copy full SHA for c0f5157
1 file changed
nan.h
@@ -2440,15 +2440,14 @@ inline MaybeLocal<v8::Value> TryEncode(
2440
}
2441
2442
inline v8::Local<v8::Value> Encode(
2443
- const void *buf, size_t len, enum Encoding encoding = BINARY){
+ const void *buf, size_t len, enum Encoding encoding = BINARY) {
2444
return TryEncode(buf, len, encoding).ToLocalChecked();
2445
2446
2447
#else
2448
2449
2450
- const void *buf, size_t len, enum Encoding encoding = BINARY)
2451
-{
2452
#if (NODE_MODULE_VERSION >= ATOM_0_21_MODULE_VERSION)
2453
v8::Isolate* isolate = v8::Isolate::GetCurrent();
2454
node::encoding node_enc = static_cast<node::encoding>(encoding);
0 commit comments