MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / ToUtf8String

Function ToUtf8String

node/opencc.cc:14–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using namespace opencc;
13
14std::string ToUtf8String(const Napi::Value& val) {
15 return val.As<Napi::String>().Utf8Value();
16}
17
18class OpenccBinding : public Napi::ObjectWrap<OpenccBinding> {
19 class ConvertWorker : public Napi::AsyncWorker {

Callers 6

OpenccBindingMethod · 0.85
ConvertMethod · 0.85
ConvertSyncMethod · 0.85
GenerateDictMethod · 0.85
ConvertChunkMethod · 0.85
FinishMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected